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:
@@ -30,8 +30,15 @@ IMPLEMENT_STANDARD_RTTIEXT(IntPatch_RLine,IntPatch_PointLine)
|
||||
IntPatch_RLine::IntPatch_RLine (const Standard_Boolean Tang,
|
||||
const IntSurf_TypeTrans Trans1,
|
||||
const IntSurf_TypeTrans Trans2) :
|
||||
IntPatch_PointLine(Tang,Trans1,Trans2), fipt(Standard_False),lapt(Standard_False)
|
||||
|
||||
IntPatch_PointLine(Tang,Trans1,Trans2),
|
||||
ParamInf1(0.0),
|
||||
ParamSup1(0.0),
|
||||
ParamInf2(0.0),
|
||||
ParamSup2(0.0),
|
||||
fipt(Standard_False),
|
||||
lapt(Standard_False),
|
||||
indf(0),
|
||||
indl(0)
|
||||
{
|
||||
typ = IntPatch_Restriction;
|
||||
onS2=Standard_False;
|
||||
@@ -42,7 +49,15 @@ IntPatch_RLine::IntPatch_RLine (const Standard_Boolean Tang,
|
||||
IntPatch_RLine::IntPatch_RLine (const Standard_Boolean Tang,
|
||||
const IntSurf_Situation Situ1,
|
||||
const IntSurf_Situation Situ2) :
|
||||
IntPatch_PointLine(Tang,Situ1,Situ2), fipt(Standard_False),lapt(Standard_False)
|
||||
IntPatch_PointLine(Tang,Situ1,Situ2),
|
||||
ParamInf1(0.0),
|
||||
ParamSup1(0.0),
|
||||
ParamInf2(0.0),
|
||||
ParamSup2(0.0),
|
||||
fipt(Standard_False),
|
||||
lapt(Standard_False),
|
||||
indf(0),
|
||||
indl(0)
|
||||
{
|
||||
typ = IntPatch_Restriction;
|
||||
onS2=Standard_False;
|
||||
@@ -51,8 +66,15 @@ IntPatch_RLine::IntPatch_RLine (const Standard_Boolean Tang,
|
||||
|
||||
|
||||
IntPatch_RLine::IntPatch_RLine (const Standard_Boolean Tang) :
|
||||
IntPatch_PointLine(Tang), fipt(Standard_False),lapt(Standard_False)
|
||||
|
||||
IntPatch_PointLine(Tang),
|
||||
ParamInf1(0.0),
|
||||
ParamSup1(0.0),
|
||||
ParamInf2(0.0),
|
||||
ParamSup2(0.0),
|
||||
fipt(Standard_False),
|
||||
lapt(Standard_False),
|
||||
indf(0),
|
||||
indl(0)
|
||||
{
|
||||
typ = IntPatch_Restriction;
|
||||
onS2=Standard_False;
|
||||
|
Reference in New Issue
Block a user