0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / IntPatch / IntPatch_RLine.cxx
index 2214b76..cb34891 100644 (file)
@@ -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;