mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03: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:
@@ -22,7 +22,9 @@
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Adaptor3d_HVertex,Standard_Transient)
|
||||
|
||||
Adaptor3d_HVertex::Adaptor3d_HVertex ()
|
||||
{}
|
||||
: myTol(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Adaptor3d_HVertex::Adaptor3d_HVertex (const gp_Pnt2d& P,
|
||||
|
@@ -60,8 +60,17 @@ static void GetConeApexParam(const gp_Cone& C, Standard_Real& U, Standard_Real&
|
||||
}
|
||||
|
||||
|
||||
Adaptor3d_TopolTool::Adaptor3d_TopolTool () : myNbSamplesU(-1),nbRestr(0),idRestr(0)
|
||||
|
||||
Adaptor3d_TopolTool::Adaptor3d_TopolTool ()
|
||||
: myNbSamplesU(-1),
|
||||
myNbSamplesV(-1),
|
||||
nbRestr(0),
|
||||
idRestr(0),
|
||||
Uinf(0.0),
|
||||
Usup(0.0),
|
||||
Vinf(0.0),
|
||||
Vsup(0.0),
|
||||
nbVtx(0),
|
||||
idVtx(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user