mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-05 20:27:52 +08:00
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
Added initialization of fields that had not initialization Added default constructors to classes without constructors
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
#include <gp_Vec2d.hxx>
|
||||
#include <IntSurf_InteriorPoint.hxx>
|
||||
|
||||
IntSurf_InteriorPoint::IntSurf_InteriorPoint () {}
|
||||
IntSurf_InteriorPoint::IntSurf_InteriorPoint ()
|
||||
: paramu(0.0),
|
||||
paramv(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
IntSurf_InteriorPoint::IntSurf_InteriorPoint (const gp_Pnt& P,
|
||||
|
||||
@@ -28,8 +28,9 @@
|
||||
|
||||
// ============================================================
|
||||
IntSurf_Quadric::IntSurf_Quadric ():typ(GeomAbs_OtherSurface),
|
||||
prm1(0.), prm2(0.), prm3(0.), prm4(0.)
|
||||
{}
|
||||
prm1(0.), prm2(0.), prm3(0.), prm4(0.), ax3direc(Standard_False)
|
||||
{
|
||||
}
|
||||
// ============================================================
|
||||
IntSurf_Quadric::IntSurf_Quadric (const gp_Pln& P):
|
||||
ax3(P.Position()),typ(GeomAbs_Plane)
|
||||
|
||||
Reference in New Issue
Block a user