]> OCCT Git - occt-copy.git/commitdiff
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
authormkrylova <mkrylova@opencascade.com>
Fri, 17 Jul 2020 10:08:31 +0000 (13:08 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 23 Jul 2020 13:08:20 +0000 (16:08 +0300)
Added initialization of fields that had not initialization
Added default constructors to classes without constructors

293 files changed:
src/Adaptor3d/Adaptor3d_HVertex.cxx
src/Adaptor3d/Adaptor3d_TopolTool.cxx
src/AdvApp2Var/AdvApp2Var_Context.cxx
src/AppBlend/AppBlend_AppSurf.gxx
src/AppDef/AppDef_LinearCriteria.cxx
src/AppParCurves/AppParCurves_ConstraintCouple.cxx
src/AppParCurves/AppParCurves_Gradient.gxx
src/AppParCurves/AppParCurves_MultiBSpCurve.cxx
src/AppParCurves/AppParCurves_MultiPoint.cxx
src/Approx/Approx_ComputeCLine.gxx
src/Approx/Approx_CurvilinearParameter.cxx
src/ApproxInt/ApproxInt_ImpPrmSvSurfaces.gxx
src/ApproxInt/ApproxInt_PrmPrmSvSurfaces.gxx
src/BRepBlend/BRepBlend_CurvPointRadInv.cxx
src/BRepBlend/BRepBlend_Extremity.cxx
src/BRepBlend/BRepBlend_PointOnRst.cxx
src/BRepBlend/BRepBlend_RstRstConstRad.cxx
src/BRepBlend/BRepBlend_RstRstLineBuilder.cxx
src/BRepBlend/BRepBlend_SurfCurvConstRadInv.cxx
src/BRepBlend/BRepBlend_SurfPointConstRadInv.cxx
src/BRepBlend/BRepBlend_SurfRstConstRad.cxx
src/BRepBlend/BRepBlend_SurfRstLineBuilder.cxx
src/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx
src/BRepCheck/BRepCheck_Face.cxx
src/BRepCheck/BRepCheck_Shell.cxx
src/BRepCheck/BRepCheck_Wire.cxx
src/BRepClass3d/BRepClass3d_Intersector3d.cxx
src/BRepClass3d/BRepClass3d_SClassifier.cxx
src/BRepClass3d/BRepClass3d_SolidClassifier.cxx
src/BRepClass3d/BRepClass3d_SolidExplorer.cxx
src/BRepExtrema/BRepExtrema_DistShapeShape.cxx
src/BRepFeat/BRepFeat_MakeDPrism.hxx
src/BRepFeat/BRepFeat_MakeLinearForm.lxx
src/BRepFeat/BRepFeat_MakePrism.lxx
src/BRepFeat/BRepFeat_MakeRevol.lxx
src/BRepFeat/BRepFeat_MakeRevolutionForm.lxx
src/BRepFeat/BRepFeat_RibSlot.lxx
src/BRepGProp/BRepGProp_Sinert.cxx
src/BRepGProp/BRepGProp_Vinert.cxx
src/BRepLib/BRepLib_FindSurface.cxx
src/BRepLib/BRepLib_MakeEdge.cxx
src/BRepLib/BRepLib_MakeWire.hxx
src/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx
src/BRepMAT2d/BRepMAT2d_LinkTopoBilo.cxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx
src/BRepMesh/BRepMesh_EdgeParameterProvider.hxx
src/BRepMesh/BRepMesh_FaceChecker.cxx
src/BRepMesh/BRepMesh_FaceChecker.hxx
src/BRepMesh/BRepMesh_NURBSRangeSplitter.cxx
src/BRepMesh/BRepMesh_NURBSRangeSplitter.hxx
src/BRepTools/BRepTools_ReShape.cxx
src/BRepTools/BRepTools_WireExplorer.cxx
src/BRepTopAdaptor/BRepTopAdaptor_FClass2d.cxx
src/BRepTopAdaptor/BRepTopAdaptor_TopolTool.cxx
src/BVH/BVH_Distance.hxx
src/BVH/BVH_DistanceField.lxx
src/BVH/BVH_PairDistance.hxx
src/Bisector/Bisector_BisecCC.cxx
src/Bisector/Bisector_BisecPC.cxx
src/Bisector/Bisector_PointOnBis.cxx
src/BlendFunc/BlendFunc_CSConstRad.cxx
src/BlendFunc/BlendFunc_ChAsym.cxx
src/BlendFunc/BlendFunc_ChAsymInv.cxx
src/BlendFunc/BlendFunc_ConstRad.cxx
src/BlendFunc/BlendFunc_ConstRadInv.cxx
src/BlendFunc/BlendFunc_ConstThroat.cxx
src/BlendFunc/BlendFunc_ConstThroatInv.cxx
src/BlendFunc/BlendFunc_Corde.cxx
src/BlendFunc/BlendFunc_GenChamfInv.cxx
src/BlendFunc/BlendFunc_GenChamfer.cxx
src/BlendFunc/BlendFunc_Ruled.cxx
src/BlendFunc/BlendFunc_RuledInv.cxx
src/CDF/CDF_Store.cxx
src/CDM/CDM_MetaData.cxx
src/CDM/CDM_Reference.cxx
src/CPnts/CPnts_AbscissaPoint.cxx
src/CPnts/CPnts_UniformDeflection.cxx
src/Contap/Contap_ArcFunction.cxx
src/Contap/Contap_ContAna.cxx
src/Contap/Contap_Point.cxx
src/Contap/Contap_SurfFunction.cxx
src/DBRep/DBRep_HideData.cxx
src/Draw/Draw_Drawable3D.cxx
src/Draw/Draw_Interpretor.cxx
src/Draw/Draw_Marker2D.cxx
src/Draw/Draw_Marker3D.cxx
src/Draw/Draw_View.cxx
src/Draw/Draw_Window.cxx
src/Draw/Draw_Window.hxx
src/DrawDim/DrawDim_Dimension.cxx
src/Extrema/Extrema_ExtCC.cxx
src/Extrema/Extrema_ExtCC2d.cxx
src/Extrema/Extrema_ExtCS.cxx
src/Extrema/Extrema_ExtElC.cxx
src/Extrema/Extrema_ExtElC2d.cxx
src/Extrema/Extrema_ExtPExtS.cxx
src/Extrema/Extrema_ExtPS.cxx
src/Extrema/Extrema_ExtSS.cxx
src/Extrema/Extrema_FuncExtCS.cxx
src/Extrema/Extrema_FuncExtSS.cxx
src/Extrema/Extrema_FuncPSNorm.cxx
src/Extrema/Extrema_GLocateExtPC.gxx
src/Extrema/Extrema_GenExtCS.cxx
src/Extrema/Extrema_GenExtCS.hxx
src/Extrema/Extrema_GenExtPC.gxx
src/Extrema/Extrema_GenExtPS.cxx
src/Extrema/Extrema_GenExtSS.cxx
src/Extrema/Extrema_GenLocateExtCC.gxx
src/Extrema/Extrema_GenLocateExtCS.cxx
src/Extrema/Extrema_GenLocateExtPC.gxx
src/Extrema/Extrema_GenLocateExtSS.cxx
src/Extrema/Extrema_GlobOptFuncCC.cxx
src/Extrema/Extrema_LocateExtCC.cxx
src/Extrema/Extrema_LocateExtCC2d.cxx
src/FEmTool/FEmTool_ElementaryCriterion.cxx
src/FEmTool/FEmTool_ElementaryCriterion.hxx
src/FairCurve/FairCurve_EnergyOfBatten.cxx
src/FairCurve/FairCurve_EnergyOfMVC.cxx
src/GCPnts/GCPnts_QuasiUniformDeflection.cxx
src/GCPnts/GCPnts_TangentialDeflection.cxx
src/GCPnts/GCPnts_UniformDeflection.cxx
src/GProp/GProp_PEquation.cxx
src/Geom/Geom_OsculatingSurface.cxx
src/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d2TanOn.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d2TanOnIter.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d3TanIter.cxx
src/Geom2dGcc/Geom2dGcc_Lin2d2TanIter.cxx
src/Geom2dGcc/Geom2dGcc_Lin2dTanObl.cxx
src/Geom2dGcc/Geom2dGcc_Lin2dTanOblIter.cxx
src/Geom2dHatch/Geom2dHatch_Elements.cxx
src/Geom2dHatch/Geom2dHatch_Hatching.cxx
src/Geom2dLProp/Geom2dLProp_CurAndInf2d.cxx
src/Geom2dLProp/Geom2dLProp_NumericCurInf2d.cxx
src/GeomAPI/GeomAPI_ExtremaCurveCurve.cxx
src/GeomAPI/GeomAPI_ExtremaCurveSurface.cxx
src/GeomAPI/GeomAPI_ExtremaSurfaceSurface.cxx
src/GeomAPI/GeomAPI_ProjectPointOnCurve.cxx
src/GeomAPI/GeomAPI_ProjectPointOnSurf.cxx
src/GeomFill/GeomFill_ConstrainedFilling.cxx
src/GeomFill/GeomFill_CornerState.cxx
src/GeomFill/GeomFill_Filling.cxx
src/GeomFill/GeomFill_Frenet.cxx
src/GeomFill/GeomFill_FunctionGuide.cxx
src/GeomFill/GeomFill_SectionPlacement.cxx
src/GeomFill/GeomFill_SweepSectionGenerator.cxx
src/GeomLib/GeomLib_Interpolate.cxx
src/GeomPlate/GeomPlate_Aij.cxx
src/GeomPlate/GeomPlate_CurveConstraint.cxx
src/GeomPlate/GeomPlate_PointConstraint.cxx
src/GeomPlate/GeomPlate_Surface.cxx
src/Graphic3d/Graphic3d_RenderingParams.hxx
src/HLRAlgo/HLRAlgo_BiPoint.hxx
src/HLRAlgo/HLRAlgo_EdgeIterator.cxx
src/HLRAlgo/HLRAlgo_Intersection.cxx
src/HLRAlgo/HLRAlgo_PolyAlgo.cxx
src/HLRAlgo/HLRAlgo_PolyData.hxx
src/HLRAlgo/HLRAlgo_PolyHidingData.hxx
src/HLRAlgo/HLRAlgo_PolyInternalNode.hxx
src/HLRBRep/HLRBRep_ShapeBounds.lxx
src/HLRBRep/HLRBRep_Surface.cxx
src/HLRTest/HLRTest_DrawablePolyEdgeTool.cxx
src/HLRTopoBRep/HLRTopoBRep_VData.lxx
src/Hatch/Hatch_Line.cxx
src/Hatch/Hatch_Parameter.cxx
src/HatchGen/HatchGen_PointOnElement.cxx
src/IntAna/IntAna_Curve.cxx
src/IntAna/IntAna_Int3Pln.cxx
src/IntAna/IntAna_IntConicQuad.cxx
src/IntAna/IntAna_IntLinTorus.cxx
src/IntAna/IntAna_IntQuadQuad.cxx
src/IntAna2d/IntAna2d_AnaIntersection.cxx
src/IntAna2d/IntAna2d_IntPoint.cxx
src/IntAna2d/IntAna2d_Outils.cxx
src/IntCurve/IntCurve_IConicTool.cxx
src/IntCurve/IntCurve_IntConicConic_Tool.cxx
src/IntCurve/IntCurve_PConic.cxx
src/IntCurveSurface/IntCurveSurface_IntersectionPoint.cxx
src/IntImp/IntImp_Int2S.gxx
src/IntImp/IntImp_IntCS.gxx
src/IntImp/IntImp_ZerImpFunc.gxx
src/IntImp/IntImp_ZerParFunc.gxx
src/IntPatch/IntPatch_ALine.cxx
src/IntPatch/IntPatch_ImpImpIntersection_2.gxx
src/IntPatch/IntPatch_InterferencePolyhedron.cxx
src/IntPatch/IntPatch_Intersection.cxx
src/IntPatch/IntPatch_PolyLine.cxx
src/IntPatch/IntPatch_PrmPrmIntersection.cxx
src/IntPatch/IntPatch_RLine.cxx
src/IntRes2d/IntRes2d_IntersectionSegment.cxx
src/IntStart/IntStart_PathPoint.gxx
src/IntStart/IntStart_SearchOnBoundaries.gxx
src/IntStart/IntStart_Segment.gxx
src/IntSurf/IntSurf_InteriorPoint.cxx
src/IntSurf/IntSurf_Quadric.cxx
src/IntWalk/IntWalk_IWalking_1.gxx
src/IntWalk/IntWalk_PWalking.cxx
src/Intf/Intf_Interference.cxx
src/Intf/Intf_Tool.cxx
src/LDOM/LDOM_BasicAttribute.hxx
src/Law/Law_BSpFunc.cxx
src/Law/Law_Constant.cxx
src/Law/Law_Linear.cxx
src/LocOpe/LocOpe_Generator.lxx
src/LocOpe/LocOpe_LinearForm.lxx
src/LocOpe/LocOpe_PntFace.hxx
src/LocOpe/LocOpe_Prism.cxx
src/LocOpe/LocOpe_Revol.cxx
src/LocOpe/LocOpe_RevolutionForm.cxx
src/LocOpe/LocOpe_Spliter.lxx
src/LocOpe/LocOpe_WiresOnShape.cxx
src/LocalAnalysis/LocalAnalysis_CurveContinuity.cxx
src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx
src/MAT/MAT_BasicElt.cxx
src/MAT/MAT_Edge.cxx
src/MAT/MAT_Graph.cxx
src/MAT/MAT_Node.cxx
src/MAT/MAT_Zone.cxx
src/MAT2d/MAT2d_Circuit.cxx
src/MAT2d/MAT2d_Connexion.cxx
src/MAT2d/MAT2d_Mat2d.cxx
src/MAT2d/MAT2d_MiniPath.cxx
src/MoniTool/MoniTool_Element.cxx
src/MoniTool/MoniTool_Element.hxx
src/MoniTool/MoniTool_Stat.cxx
src/MoniTool/MoniTool_TypedValue.cxx
src/NLPlate/NLPlate_HGPPConstraint.hxx
src/PCDM/PCDM_Reference.cxx
src/Plate/Plate_Plate.cxx
src/ProjLib/ProjLib_CompProjectedCurve.cxx
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
src/ProjLib/ProjLib_PrjResolve.cxx
src/ProjLib/ProjLib_ProjectOnSurface.cxx
src/ProjLib/ProjLib_Projector.cxx
src/QABugs/QABugs_19.cxx
src/RWGltf/RWGltf_GltfJsonParser.cxx
src/STEPConstruct/STEPConstruct_UnitContext.cxx
src/STEPControl/STEPControl_ActorRead.cxx
src/Select3D/Select3D_SensitiveSet.hxx
src/SelectBasics/SelectBasics_SelectingVolumeManager.hxx
src/SelectMgr/SelectMgr_Frustum.hxx
src/ShapeAnalysis/ShapeAnalysis_Shell.cxx
src/ShapeAnalysis/ShapeAnalysis_Shell.hxx
src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
src/ShapeFix/ShapeFix_EdgeProjAux.cxx
src/ShapeFix/ShapeFix_FreeBounds.cxx
src/ShapePersistent/ShapePersistent_BRep.hxx
src/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx
src/ShapePersistent/ShapePersistent_Geom_Curve.hxx
src/ShapePersistent/ShapePersistent_Geom_Surface.hxx
src/ShapePersistent/ShapePersistent_HSequence.hxx
src/ShapePersistent/ShapePersistent_Poly.hxx
src/ShapeUpgrade/ShapeUpgrade_SplitCurve.cxx
src/ShapeUpgrade/ShapeUpgrade_SplitSurface.cxx
src/ShapeUpgrade/ShapeUpgrade_SplitSurfaceContinuity.cxx
src/StdLPersistent/StdLPersistent_Collection.hxx
src/StdLPersistent/StdLPersistent_Data.hxx
src/StdLPersistent/StdLPersistent_Function.hxx
src/StdLPersistent/StdLPersistent_Real.hxx
src/StdLPersistent/StdLPersistent_Variable.hxx
src/StdObject/StdObject_Shape.hxx
src/StdPersistent/StdPersistent_TopoDS.hxx
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_Tool.cxx
src/StepToTopoDS/StepToTopoDS_TranslateCompositeCurve.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx
src/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateShell.cxx
src/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx
src/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx
src/Sweep/Sweep_NumShapeIterator.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfByteArray.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfExtStringArray.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfIntArray.cxx
src/TDataStd/TDataStd_DeltaOnModificationOfRealArray.cxx
src/TNaming/TNaming_NamedShape.cxx
src/TopClass/TopClass_Classifier2d.gxx
src/TopClass/TopClass_Classifier3d.gxx
src/TopTrans/TopTrans_CurveTransition.cxx
src/TopTrans/TopTrans_SurfaceTransition.cxx
src/TopoDSToStep/TopoDSToStep_Builder.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepVertex.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepWire.cxx
src/TopoDSToStep/TopoDSToStep_Tool.cxx
src/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx
src/Units/Units_ShiftedUnit.cxx
src/VrmlData/VrmlData_ShapeConvert.hxx
src/VrmlData/VrmlData_TextureTransform.hxx

index ac9e16b49d22414bceb9a3a4c48defcdeaf28ea8..28656327d02f720dd2d34816a12bc2249e827d22 100644 (file)
@@ -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,
index 09a7eaabae3b0227a5a2faa626acf82f47370883..b5d06497b42964a031c9e8eefe048cec2ef5fd60 100644 (file)
@@ -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)
 {
 }
 
index 9ae1db2ac6ea3a01b68c4433a1e874f8e37f7b4d..23784349b5a0163388c06250cf55ef5ed2d13551 100644 (file)
@@ -62,6 +62,18 @@ static Standard_Boolean lesparam(const Standard_Integer iordre,
 
  AdvApp2Var_Context::
 AdvApp2Var_Context()
+: myFav(0),
+  myOrdU(0),
+  myOrdV(0),
+  myLimU(0),
+  myLimV(0),
+  myNb1DSS(0),
+  myNb2DSS(0),
+  myNb3DSS(0),
+  myNbURoot(0),
+  myNbVRoot(0),
+  myJDegU(0),
+  myJDegV(0)
 {
 }
 
index e9926b4b344d26a747c4a813f91ef9311416fb54..44f56420f5bf4c4ea989fabb16cef652d9a114bf 100644 (file)
@@ -49,7 +49,25 @@ Standard_EXPORT Standard_Boolean AppBlend_GetContextApproxWithNoTgt();
 //purpose  : 
 //=======================================================================
 
-AppBlend_AppSurf::AppBlend_AppSurf ():done(Standard_False) {}
+AppBlend_AppSurf::AppBlend_AppSurf ()
+: done(Standard_False),
+  dmin(0),
+  dmax(0),
+  tol3d(0.0),
+  tol2d(0.0),
+  nbit(0),
+  udeg(0),
+  vdeg(0),
+  knownp(Standard_False),
+  tol3dreached(0.0),
+  tol2dreached(0.0),
+  paramtype(Approx_ChordLength),
+  continuity(GeomAbs_C2)
+{
+  critweights[0]=0.4;
+  critweights[1]=0.2;
+  critweights[2]=0.4;
+}
 
 
 //=======================================================================
@@ -62,12 +80,21 @@ AppBlend_AppSurf::AppBlend_AppSurf (const Standard_Integer Degmin,
                                    const Standard_Real Tol3d,
                                    const Standard_Real Tol2d,
                                    const Standard_Integer NbIt,
-                                   const Standard_Boolean KnownParameters):
-       done(Standard_False),dmin(Degmin),dmax(Degmax),
-       tol3d(Tol3d),tol2d(Tol2d),nbit(NbIt),knownp(KnownParameters)
+                                   const Standard_Boolean KnownParameters)
+: done(Standard_False),
+  dmin(Degmin),
+  dmax(Degmax),
+  tol3d(Tol3d),
+  tol2d(Tol2d),
+  nbit(NbIt),
+  udeg(0),
+  vdeg(0),
+  knownp(KnownParameters),
+  tol3dreached(0.0),
+  tol2dreached(0.0),
+  paramtype(Approx_ChordLength),
+  continuity(GeomAbs_C2)
 {
-  continuity = GeomAbs_C2;
-  paramtype = Approx_ChordLength;
   critweights[0]=0.4;
   critweights[1]=0.2;
   critweights[2]=0.4;
index 6b098f753d8ecea700d222cd015263b08a777f57..e42e5b16d3eebeaf63f8d0c33cff5d58692ccf2d 100644 (file)
@@ -54,9 +54,16 @@ AppDef_LinearCriteria::AppDef_LinearCriteria(const AppDef_MultiLine& SSP,
                                                         const Standard_Integer FirstPoint,
                                                         const Standard_Integer LastPoint):
        mySSP(SSP),
+       myQuadraticWeight(0.0),
+       myQualityWeight(0.0),
        myPntWeight(FirstPoint, LastPoint),
-       myE(0)
+       myLength(0.0),
+       myE(0),
+       IF(0),
+       IL(0)
 {
+  memset (myEstimation, 0, sizeof (myEstimation));
+  memset (myPercent, 0, sizeof (myPercent));
   myPntWeight.Init(1.);
 }
 
index ada65285bb71a49d7c59e0436dabdb675144e952..27ff6969b628525cabfe7e60ddeca609beb86488 100644 (file)
 #include <AppParCurves_ConstraintCouple.hxx>
 
 AppParCurves_ConstraintCouple::
-  AppParCurves_ConstraintCouple() {}
+  AppParCurves_ConstraintCouple()
+: myIndex(-1),
+  myConstraint(AppParCurves_NoConstraint)
+{
+}
 
 
 AppParCurves_ConstraintCouple::
index 438b900bcd0b63acc7212d8774a5a4d34b6f9f28..01e3a466765fa97d5d194409f64669b0cc61e264 100644 (file)
@@ -58,7 +58,11 @@ AppParCurves_Gradient::
         const Standard_Real Tol3d,
         const Standard_Real Tol2d,
         const Standard_Integer NbIterations):
-        ParError(FirstPoint, LastPoint,0.0) {
+        ParError(FirstPoint, LastPoint,0.0),
+        AvError(0.0),
+        MError3d(0.0),
+        MError2d(0.0)
+{
 
 //  Standard_Boolean grad = Standard_True;
   Standard_Integer j, k, i2, l;
index 52e06ceef46256200b731e9fd6362850236319b9..c42a8428ad9e5dd52d164133e40284dae50e590f 100644 (file)
@@ -46,7 +46,10 @@ static Standard_Integer ComputeDegree(const TColStd_Array1OfInteger& mults,
 //purpose  : 
 //=======================================================================
 
-AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve() {}
+AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve()
+: myDegree(0)
+{
+}
 
 
 //=======================================================================
@@ -56,7 +59,8 @@ AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve() {}
 
 AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve
   (const Standard_Integer NbPol): 
-  AppParCurves_MultiCurve(NbPol)
+  AppParCurves_MultiCurve(NbPol),
+  myDegree(0)
 {
 }
 
index 3779d7523968e70d15aa6246da3744ec873b3d91..67d667b97ae683376c0c9d569aeb802defbc72c3 100644 (file)
 #define tabPoint   Handle(TColgp_HArray1OfPnt)::DownCast (ttabPoint)
 #define tabPoint2d Handle(TColgp_HArray1OfPnt2d)::DownCast (ttabPoint2d)
 
-AppParCurves_MultiPoint::AppParCurves_MultiPoint() {}
+AppParCurves_MultiPoint::AppParCurves_MultiPoint()
+: nbP(0),
+  nbP2d(0)
+{
+}
 
 
 AppParCurves_MultiPoint::AppParCurves_MultiPoint (const Standard_Integer NbPoles, 
index e5f49064a18974078fdb592264698b1cffe4ebb8..b6e1bfbda42d62af640015ee01ce9e73efab1921 100644 (file)
@@ -56,6 +56,9 @@ const AppParCurves_Constraint LastC)
   myInvOrder = Standard_True;
   myHangChecking = Standard_True;
   alldone = Standard_False;
+  tolreached = Standard_False;
+  currenttol3d = 0.0;
+  currenttol2d = 0.0;
   Perform(Line);
 }
 
@@ -84,6 +87,9 @@ const AppParCurves_Constraint LastC)
   myMaxSegments = MAXSEGM;
   myInvOrder = Standard_True;
   myHangChecking = Standard_True;
+  tolreached = Standard_False;
+  currenttol3d = 0.0;
+  currenttol2d = 0.0;
 }
 
 //=======================================================================
index 7bc27870e00a6bd7de399d1445537963b9163d37..72e1d45f91295737b882b866afab31ab5c025a28 100644 (file)
@@ -133,6 +133,8 @@ Approx_CurvilinearParameter::Approx_CurvilinearParameter(const Handle(Adaptor3d_
                                                         const GeomAbs_Shape Order,
                                                         const Standard_Integer MaxDegree,
                                                         const Standard_Integer MaxSegments)
+: myMaxError2d1(0.0),
+  myMaxError2d2(0.0)
 {
 #ifdef OCCT_DEBUG_CHRONO
   t_total = t_init = t_approx = t_uparam = 0;
index 8501520616ff5bd777e9852bddc5c7300f96b2fe..985e8e72bf1d98b3647496ff6d5bc6efa71cc8d5 100644 (file)
@@ -329,7 +329,9 @@ static Standard_Boolean NonSingularProcessing(const gp_Vec& theDU,
 //--------------------------------------------------------------------------------
 ApproxInt_ImpPrmSvSurfaces::ApproxInt_ImpPrmSvSurfaces( const TheISurface& ISurf
                                                       ,const ThePSurface& PSurf):
+       MyIsTangent(Standard_False),
        MyHasBeenComputed(Standard_False),
+       MyIsTangentbis(Standard_False),
        MyHasBeenComputedbis(Standard_False),
        MyImplicitFirst(Standard_True),
        MyZerImpFunc(PSurf,ISurf)
@@ -338,7 +340,9 @@ ApproxInt_ImpPrmSvSurfaces::ApproxInt_ImpPrmSvSurfaces( const TheISurface& ISurf
 //--------------------------------------------------------------------------------
 ApproxInt_ImpPrmSvSurfaces::ApproxInt_ImpPrmSvSurfaces( const ThePSurface& PSurf
                                                       ,const TheISurface& ISurf):
+       MyIsTangent(Standard_False),
        MyHasBeenComputed(Standard_False),
+       MyIsTangentbis(Standard_False),
        MyHasBeenComputedbis(Standard_False),
        MyImplicitFirst(Standard_False),
        MyZerImpFunc(PSurf,ISurf)
index 9d41e91856aafa56e9cd63f3d5f26dd95620e8b4..3678c8fd594e0dd72b883ba308df49338b6a4205 100644 (file)
@@ -29,7 +29,9 @@
 //--------------------------------------------------------------------------------
 ApproxInt_PrmPrmSvSurfaces::ApproxInt_PrmPrmSvSurfaces( const ThePSurface& Surf1
                                                       ,const ThePSurface& Surf2):
+       MyIsTangent(Standard_False),
        MyHasBeenComputed(Standard_False),
+       MyIsTangentbis(Standard_False),
        MyHasBeenComputedbis(Standard_False),
        MyIntersectionOn2S(Surf1,Surf2,TOLTANGENCY)
 { 
index 239bb4cfb390de36f57919af4da6aafddac63fa5..32a5badb93138a5e348ab075b1b530eea3adf17c 100644 (file)
 //=======================================================================
 BRepBlend_CurvPointRadInv::BRepBlend_CurvPointRadInv
 (const Handle(Adaptor3d_HCurve)& C1,
- const Handle(Adaptor3d_HCurve)& C2) : curv1(C1), curv2(C2)
+ const Handle(Adaptor3d_HCurve)& C2)
+: curv1(C1),
+  curv2(C2),
+  choix(0)
 {
 }
 
index 85f96dcc4fa54a5804f9c15099b854c28ce421bf..a3ca84236e87316b070f6346bec8310d7345c9d0 100644 (file)
@@ -63,7 +63,8 @@ BRepBlend_Extremity::BRepBlend_Extremity (const gp_Pnt& P,
                                  const Standard_Real Tol) :
        pt(P),
        tang(gp_Vec(0,0,0)),
-       param(Param),u(W),tol(Tol),isvtx(Standard_False),
+       param(Param),u(W),v(0.0),
+       tol(Tol),isvtx(Standard_False),
        hastang(Standard_False)
 {}
 
index aa3e46955908533aae39db786dcb8939c9e9c494..a1bfa3d646a48681ef5554339b89ba9512715fc8 100644 (file)
 #include <IntSurf_Transition.hxx>
 #include <Standard_DomainError.hxx>
 
-BRepBlend_PointOnRst::BRepBlend_PointOnRst () {}
+BRepBlend_PointOnRst::BRepBlend_PointOnRst ()
+: prm(0.0)
+{
+}
 
 
 BRepBlend_PointOnRst::BRepBlend_PointOnRst(const Handle(Adaptor2d_HCurve2d)& A,
index 6e781d9e5a856de3f87984ef7b1f1798d363bdaf..9ab45e7091fe5d6a2966041f03957de1eb15b2c9 100644 (file)
@@ -68,10 +68,13 @@ BRepBlend_RstRstConstRad::BRepBlend_RstRstConstRad
  surf1(Surf1), surf2(Surf2), rst1(Rst1), rst2(Rst2),
  cons1(Rst1, Surf1), cons2(Rst2, Surf2), 
  guide(CGuide), tguide(CGuide),
- istangent(Standard_True), maxang(RealFirst()), minang(RealLast()),
- distmin(RealLast()),
- mySShape(BlendFunc_Rational)
-{}
+ prmrst1(0.0), prmrst2(0.0),
+ istangent(Standard_True), ray(0.0),
+ choix(0), normtg(0.0), theD(0.0),
+ maxang(RealFirst()), minang(RealLast()),
+ distmin(RealLast()), mySShape(BlendFunc_Rational)
+{
+}
 
 //=======================================================================
 //function : NbVariables
index db9ee1b25512b80a9c3d5f40abd5f21fdd38c0cb..03dec64458ff640fddb793832c6328defc01c612 100644 (file)
@@ -174,8 +174,13 @@ BRepBlend_RstRstLineBuilder::BRepBlend_RstRstLineBuilder
  const Handle(Adaptor3d_HSurface)&  Surf2,
  const Handle(Adaptor2d_HCurve2d)&  Rst2,
  const Handle(Adaptor3d_TopolTool)& Domain2):
- sol(1,2), surf1(Surf1), domain1(Domain1),
- surf2(Surf2), domain2(Domain2), rst1(Rst1), rst2(Rst2)
+ done(Standard_False), sol(1, 2), surf1(Surf1),
+ domain1(Domain1), surf2(Surf2),
+ domain2(Domain2), rst1(Rst1), rst2(Rst2),
+ tolesp(0.0), tolgui(0.0), pasmax(0.0),
+ fleche(0.0), param(0.0), rebrou(Standard_False),
+ iscomplete(Standard_False), comptra(Standard_False), sens(0.0),
+ decrochdeb(Blend_NoDecroch), decrochfin(Blend_NoDecroch)
 {
 }
 
index 6bacf664ffdd7e3727ad015ea1a62328520bb3fe..256339bc5ffcc8bf504e9537aee100977025fc0a 100644 (file)
 BRepBlend_SurfCurvConstRadInv::BRepBlend_SurfCurvConstRadInv
 (const Handle(Adaptor3d_HSurface)& S,
  const Handle(Adaptor3d_HCurve)& C,
- const Handle(Adaptor3d_HCurve)& Cg) : surf(S),curv(C),guide(Cg)
+ const Handle(Adaptor3d_HCurve)& Cg)
+: surf(S),
+  curv(C),
+  guide(Cg),
+  ray(0.0),
+  choix(0)
 {
 }
 
index 8b4834594ef10335b2e5a0c780db942541dd7dc3..bf99fa0271bc836c01ba0692343a1c3e39b326ab 100644 (file)
 //=======================================================================
 BRepBlend_SurfPointConstRadInv::BRepBlend_SurfPointConstRadInv
 (const Handle(Adaptor3d_HSurface)& S,
- const Handle(Adaptor3d_HCurve)&   C) : surf(S), curv(C)
+ const Handle(Adaptor3d_HCurve)&   C)
+: surf(S),
+  curv(C),
+  ray(0.0),
+  choix(0)
 {
 }
 
index e20f37621d2af09694a5e1623cb59971ec753533..a984ea7050f422c2755bca727b2111694cd214a8 100644 (file)
@@ -66,10 +66,12 @@ BRepBlend_SurfRstConstRad::BRepBlend_SurfRstConstRad
  const Handle(Adaptor3d_HCurve)&   CGuide):
  surf(Surf), surfrst(SurfRst), rst(Rst), cons(Rst,SurfRst), 
  guide(CGuide), tguide(CGuide),
- istangent(Standard_True), theD(0.), maxang(RealFirst()), minang(RealLast()),
- distmin(RealLast()),
- mySShape(BlendFunc_Rational)
-{}
+ prmrst(0.0), istangent(Standard_True),
+ ray(0.0), choix(0), normtg(0.0),
+ theD(0.), maxang(RealFirst()), minang(RealLast()),
+ distmin(RealLast()), mySShape(BlendFunc_Rational)
+{
+}
 
 //=======================================================================
 //function : NbVariables
index 5fc64d870a49740f6a2d21ad4d6af273a8babfad..449335133ebe6d2d353b0898e798a41722bac7a7 100644 (file)
@@ -212,8 +212,13 @@ BRepBlend_SurfRstLineBuilder::BRepBlend_SurfRstLineBuilder
  const Handle(Adaptor3d_HSurface)&  Surf2,
  const Handle(Adaptor2d_HCurve2d)&  Rst,
  const Handle(Adaptor3d_TopolTool)& Domain2):
- sol(1,3),surf1(Surf1), domain1(Domain1),
- surf2(Surf2), rst(Rst), domain2(Domain2)
+ done(Standard_False), sol(1, 3), surf1(Surf1),
+ domain1(Domain1), surf2(Surf2), rst(Rst),
+ domain2(Domain2), tolesp(0.0), tolgui(0.0),
+ pasmax(0.0), fleche(0.0), param(0.0),
+ rebrou(Standard_False), iscomplete(Standard_False),
+ comptra(Standard_False), sens(0.0),
+ decrochdeb(Standard_False), decrochfin(Standard_False)
 {
 }
 
index 8f6ab8a62a072d48389a8698dcf6dc1a89277ca6..a4ac6438fc56556da04283375d15e271f92e18c5 100644 (file)
@@ -581,8 +581,11 @@ Standard_Real BRepBuilderAPI_FastSewing::Compute3DRange()
 BRepBuilderAPI_FastSewing::NodeInspector::
                       NodeInspector(const NCollection_Vector<FS_Vertex>& theVec,
                                     const gp_Pnt& thePnt,
-                                    const Standard_Real theTol):
-myVecOfVertexes(theVec), myPoint(thePnt), myResID(-1)
+                                    const Standard_Real theTol)
+: myVecOfVertexes(theVec),
+  myPoint(thePnt),
+  myResID(-1),
+  myIsFindingEnable(Standard_False)
 {
   mySQToler = theTol*theTol;
 }
index d185feb40903e7d6d4c22c3d348944ef287d6f0f..23612d8c1182f61d2a547299e8a6b9e1ea3a6334 100644 (file)
@@ -82,6 +82,9 @@ static Standard_Boolean CheckThin(const TopoDS_Shape& w,
 //=======================================================================
 
 BRepCheck_Face::BRepCheck_Face (const TopoDS_Face& F)
+: myIntres(BRepCheck_NoError),
+  myImbres(BRepCheck_NoError),
+  myOrires(BRepCheck_NoError)
 {
   Init(F);
   myIntdone = Standard_False;
index e50a0b72497ec8505c70a7cccc302c046ee5c2e4..0da1b61d18598d6c6feec5de65d31a6743c5f563 100644 (file)
@@ -111,6 +111,11 @@ inline Standard_Boolean IsOriented(const TopoDS_Shape& S)
 //=======================================================================
 
 BRepCheck_Shell::BRepCheck_Shell(const TopoDS_Shell& S)
+: myNbori(0),
+  myCdone(Standard_False),
+  myCstat(BRepCheck_NoError),
+  myOdone(Standard_False),
+  myOstat(BRepCheck_NoError)
 {
   Init(S);
 }
index da035c69cdd7e6910dad05db0a92719d5da68425..80ce345e5ec1ed4f792a6b93b97f7c1d5fa794f6 100644 (file)
@@ -130,6 +130,9 @@ static Standard_Boolean GetPnt2d(const TopoDS_Vertex    &theVertex,
 //purpose  : 
 //=======================================================================
 BRepCheck_Wire::BRepCheck_Wire(const TopoDS_Wire& W)
+: myCdone(Standard_False),
+  myCstat(BRepCheck_NoError),
+  myGctrl(Standard_False)
 {
   Init(W);
 }
index 1309b0b061dae5a75eab88776d9dac24c62e09d4..4c7df4fa9707dcc16bbcd07f131c4a3aa8c2cc01 100644 (file)
 
 //============================================================================
 BRepClass3d_Intersector3d::BRepClass3d_Intersector3d() 
-     : done(Standard_False),hasapoint(Standard_False)
+: U(0.0),
+  V(0.0),
+  W(0.0),
+  done(Standard_False),
+  hasapoint(Standard_False),
+  state(TopAbs_UNKNOWN)
 { 
 }
 //============================================================================
index 1dfc9264394863e09c13897d916ddafc91e15052..675bbd99c97f11b241ef6bda7b4332bd5cc25dee 100644 (file)
@@ -61,7 +61,8 @@ static void Trans(Standard_Real parmin, IntCurveSurface_TransitionOnCurve& tran,
 //function : BRepClass3d_SClassifier
 //purpose  : 
 //=======================================================================
-BRepClass3d_SClassifier::BRepClass3d_SClassifier() 
+BRepClass3d_SClassifier::BRepClass3d_SClassifier()
+: myState(0)
 { 
 }
 
index 54e9c685251c1d48dc2f32b87e5e912c98d08ab7..ebf241f484c51fba268116c054b3d30386b2295a 100644 (file)
@@ -96,7 +96,9 @@ void BRepClass3d_SolidClassifier::Load(const TopoDS_Shape& S) {
 }
 
 BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier(const TopoDS_Shape& S)
-:  aSolidLoaded(Standard_True),explorer(S) 
+: aSolidLoaded(Standard_True),
+  explorer(S),
+  isaholeinspace(Standard_False)
 { 
 #if LBRCOMPT
   STAT.NbConstrShape++;
index 6f2eea87bc96341dd85b9d893f87e394175affcb..a461db4e33fc636b4ed9c239f8b8c732a63b29f0 100644 (file)
@@ -771,7 +771,10 @@ Standard_Boolean BRepClass3d_SolidExplorer::FindAPointInTheFace
 //purpose  : 
 //=======================================================================
 
-BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer() 
+BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer()
+: myReject(Standard_True),
+  myFirstFace(0),
+  myParamOnEdge(0.0)
 {
 }
 
index c98a2712ce476158599e5da54e0f1474d648768b..13efe953dc5d14c35f49fc918e021159e4cda743 100644 (file)
@@ -80,7 +80,12 @@ namespace
     Standard_Real    Distance; //!< Distance between sub-shapes
 
     //! Uninitialized constructor for collection.
-    BRepExtrema_CheckPair() {}
+    BRepExtrema_CheckPair()
+    : Index1(0),
+      Index2(0),
+      Distance(0.0)
+    {
+    }
 
     //! Creates new pair of sub-shapes.
     BRepExtrema_CheckPair (Standard_Integer theIndex1,
index e8545ccdea064c22ec94adb9cf228aedb1ef9419..1298115a3cb3036c2375bc642151b9f5f57ac904 100644 (file)
@@ -74,7 +74,9 @@ public:
     Init (Sbase, Pbase, Skface, Angle, Fuse, Modify);
   }
   
-  BRepFeat_MakeDPrism() 
+  BRepFeat_MakeDPrism()
+  : myAngle(RealLast()),
+    myStatusError(BRepFeat_OK)
   {
   }
   
index 08a7f9f36eefe4d10eb90b26f276c9ec93f5ae9d..ed87d366049e7b652cee124e15555ab6f8916219 100644 (file)
 //purpose  : 
 //=======================================================================
 
-inline BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm () {}
+inline BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm ()
+: myBnd(0.0),
+  myTol(0.0)
+{
+}
 
 
 //=======================================================================
index dde85a8e8566673b20b21a93b74b38f7317da944..c46a817b934f3778cd4a032fbcc6fbc7905bc45a 100644 (file)
 //purpose  : 
 //=======================================================================
 
-inline BRepFeat_MakePrism::BRepFeat_MakePrism () {}
+inline BRepFeat_MakePrism::BRepFeat_MakePrism ()
+: myStatusError(BRepFeat_OK)
+{
+}
 
 
 //=======================================================================
index 6b60685557b81bbbef4b194ff70baa451d5caf77..533cc3d9ace16e07f0a324c2717e0fdb9c38557e 100644 (file)
 //purpose  : 
 //=======================================================================
 
-inline BRepFeat_MakeRevol::BRepFeat_MakeRevol () {}
+inline BRepFeat_MakeRevol::BRepFeat_MakeRevol ()
+: myStatusError(BRepFeat_OK)
+{
+}
 
 
 //=======================================================================
index 8ba7e37c1198ad427161594a40ad9077f850aa9a..e69a9eb3ae6b88dfba9ff24f6b75c6db02683165 100644 (file)
 //purpose  : 
 //=======================================================================
 
-inline BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm () {}
+inline BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm ()
+: myHeight1(0.0),
+  myHeight2(0.0),
+  mySliding(Standard_False),
+  myBnd(0.0),
+  myTol(0.0),
+  myAngle1(RealLast()),
+  myAngle2(RealLast())
+{
+}
 
 
 //=======================================================================
index 3f84a0fa85fe6f05a13cc574c2cd158adb9d6127..b58d3eb06c21b89dd3e792ca0ff362689ab44763 100644 (file)
@@ -19,5 +19,9 @@
 //purpose  : 
 //=======================================================================
 
-inline BRepFeat_RibSlot::BRepFeat_RibSlot () 
-{}
+inline BRepFeat_RibSlot::BRepFeat_RibSlot ()
+: myFuse(Standard_False),
+  mySliding(Standard_False),
+  myStatusError(BRepFeat_OK)
+{
+}
index 84cab88c5bbd1541dc046f2b0418e5351faf24eb..8ae1fd9e3d39a9a3f88996e221ddc358c2513731 100644 (file)
@@ -24,6 +24,7 @@
 //purpose  : Constructor
 //=======================================================================
 BRepGProp_Sinert::BRepGProp_Sinert()
+: myEpsilon(0.0)
 {
 }
 
index 5e3a53be4ba43e6d7dd33efdb28bf9173f59d217..d80f63643d7b64cb2a3e0c751145da1ba62c440c 100644 (file)
@@ -25,6 +25,7 @@
 //purpose  : Constructor
 //=======================================================================
 BRepGProp_Vinert::BRepGProp_Vinert()
+: myEpsilon(0.0)
 {
 }
 
index 8906a82b0885a09f3bac76a563c6ff7be3d73846..21a85b697e1495d2a83ae4d73396cbd3f04fcecd 100644 (file)
@@ -161,7 +161,10 @@ static Standard_Boolean Is2DClosed(const TopoDS_Shape&         theShape,
 //function : BRepLib_FindSurface
 //purpose  : 
 //=======================================================================
-BRepLib_FindSurface::BRepLib_FindSurface() 
+BRepLib_FindSurface::BRepLib_FindSurface()
+: myTolerance(0.0),
+  myTolReached(0.0),
+  isExisted(Standard_False)
 {
 }
 //=======================================================================
index 6a3d8d52d6294f015849545ef489fc50e25da57a..4029c3ddcbd3adecb3314a0b7060e0cbce24c2b6 100644 (file)
@@ -173,7 +173,9 @@ static Standard_Boolean Project(const Handle(Geom2d_Curve)& C,
 //=======================================================================
 
 BRepLib_MakeEdge::BRepLib_MakeEdge()
-{}
+: myError(BRepLib_PointProjectionFailed)
+{
+}
 
 //=======================================================================
 //function : BRepLib_MakeEdge
index a57f5726088a52e7ba8edbfa9038fbc242f7f940..05f19cf9f445759e048c939ea30de1d587065741 100644 (file)
@@ -135,8 +135,12 @@ private:
   {
   public:
     BRepLib_BndBoxVertexSelector(const TopTools_IndexedMapOfShape& theMapOfShape)
-      : BRepLib_BndBoxVertexSelector::Selector(), myMapOfShape (theMapOfShape)
-    {}
+    : BRepLib_BndBoxVertexSelector::Selector(),
+      myMapOfShape (theMapOfShape),
+      myTolP(0.0),
+      myVInd(0)
+    {
+    }
 
     Standard_Boolean Reject (const Bnd_Box& theBox) const
     {
index 1ae8546ab45da210d2f745c1eed5e6986012c5a2..ef992f3594233ec8a652c76cab59ce5700e0fb57 100644 (file)
@@ -49,6 +49,8 @@ static void CutSketch (MAT2d_SequenceOfSequenceOfGeometry&    Figure,
 //purpose  : Constructeur vide.
 //=============================================================================
 BRepMAT2d_BisectingLocus::BRepMAT2d_BisectingLocus()
+: isDone(Standard_False),
+  nbContours(0)
 {
 }
 
index 729a8e46d8c20c17fa9804f44dde08304c23d6e4..3c4003cbb5ff751f7530f8f97e12c751f2b76495 100644 (file)
@@ -47,6 +47,8 @@
 //purpose  : 
 //=======================================================================
 BRepMAT2d_LinkTopoBilo::BRepMAT2d_LinkTopoBilo()
+: current(0),
+  isEmpty(Standard_True)
 {
 }
 
index 435aae6f1590ab4d1820d7038aa70abe86884d53..f1d4792cd65c5d8d95fcab21ad7801ffc131501c 100644 (file)
@@ -92,6 +92,7 @@ BRepMesh_Delaun::BRepMesh_Delaun (
   myCircles (new NCollection_IncAllocator(
              IMeshData::MEMORY_BLOCK_SIZE_HUGE))
 {
+  memset (mySupVert, 0, sizeof (mySupVert));
   if (isFillCircles)
   {
     InitCirclesTool (theCellsCountU, theCellsCountV);
@@ -106,6 +107,7 @@ BRepMesh_Delaun::BRepMesh_Delaun(IMeshData::Array1OfVertexOfDelaun& theVertices)
 : myCircles (theVertices.Length(), new NCollection_IncAllocator(
              IMeshData::MEMORY_BLOCK_SIZE_HUGE))
 {
+  memset (mySupVert, 0, sizeof (mySupVert));
   if ( theVertices.Length() > 2 )
   {
     myMeshData = new BRepMesh_DataStructureOfDelaun(
@@ -126,6 +128,7 @@ BRepMesh_Delaun::BRepMesh_Delaun(
   myCircles ( theVertices.Length(), new NCollection_IncAllocator(
              IMeshData::MEMORY_BLOCK_SIZE_HUGE))
 {
+  memset (mySupVert, 0, sizeof (mySupVert));
   if ( theVertices.Length() > 2 )
   {
     Init( theVertices );
@@ -143,6 +146,7 @@ BRepMesh_Delaun::BRepMesh_Delaun(
   myCircles ( theVertexIndices.Length(), new NCollection_IncAllocator(
              IMeshData::MEMORY_BLOCK_SIZE_HUGE))
 {
+  memset (mySupVert, 0, sizeof (mySupVert));
   perform(theVertexIndices);
 }
 
@@ -158,6 +162,7 @@ BRepMesh_Delaun::BRepMesh_Delaun (const Handle (BRepMesh_DataStructureOfDelaun)&
   myCircles (theVertexIndices.Length (), new NCollection_IncAllocator(
              IMeshData::MEMORY_BLOCK_SIZE_HUGE))
 {
+  memset (mySupVert, 0, sizeof (mySupVert));
   perform (theVertexIndices, theCellsCountU, theCellsCountV);
 }
 
index 04f4708d661dd3b9b38a62245eabaa43de540e78..7d3fb09f28894e40bcbdcb293fc3e0e36d26518c 100644 (file)
@@ -34,7 +34,8 @@ public:
   //! Constructor.
   BRepMesh_DelaunayDeflectionControlMeshAlgo()
     : myMaxSqDeflection(-1.),
-      myIsAllDegenerated(Standard_False)
+      myIsAllDegenerated(Standard_False),
+      myCircles(NULL)
   {
   }
 
@@ -107,6 +108,11 @@ private:
   //! Contains geometrical data related to node of triangle.
   struct TriangleNodeInfo
   {
+    TriangleNodeInfo()
+    : isFrontierLink(Standard_False)
+    {
+    }
+
     gp_XY            Point2d;
     gp_XYZ           Point;
     Standard_Boolean isFrontierLink;
index 64610fef1e497756bc038faa26682e423ce7d124..7d73cbe922e79e537a3013c51af37959efb7df8f 100644 (file)
@@ -45,6 +45,12 @@ public:
 
   //! Constructor. Initializes empty provider.
   BRepMesh_EdgeParameterProvider()
+  : myIsSameParam(Standard_False),
+    myFirstParam(0.0),
+    myOldFirstParam(0.0),
+    myScale(0.0),
+    myCurParam(0.0),
+    myFoundParam(0.0)
   {
   }
 
index cc2491df7029fc6f069e992e082903ea5b3b5659..e40f17d1ea651722f5d4f1547c2872370fe52618 100644 (file)
@@ -103,6 +103,7 @@ namespace
     BndBox2dTreeSelector(const Standard_Real theTolerance)
       : myMaxLoopSize(M_PI * theTolerance * theTolerance),
         mySelfSegmentIndex(-1),
+        mySegment(0),
         myIndices(256, new NCollection_IncAllocator(IMeshData::MEMORY_BLOCK_SIZE_HUGE))
     {
     }
index 93f574a45d208b5bed61f37442a846fbe8e5401e..5166f3bfe442231469e22a5a20c3758e236a7c7b 100644 (file)
@@ -38,8 +38,9 @@ public: //! @name mesher API
     gp_Pnt2d*                Point2; // / using indices.
 
     Segment()
-      : Point1(NULL)
-      , Point2(NULL)
+    : EdgePtr(NULL),
+      Point1(NULL),
+      Point2(NULL)
     {
     }
 
index 429a18035f45081419791f493e5f9133852ff2a0..dd1529ced16035d3ccb7e2a709b5843585a43a59 100644 (file)
@@ -44,7 +44,10 @@ namespace
         myParamsForbiddenToRemove(theParamsForbiddenToRemove),
         myControlParamsForbiddenToRemove(theControlParamsForbiddenToRemove),
         myAllocator(new NCollection_IncAllocator(IMeshData::MEMORY_BLOCK_SIZE_HUGE)),
-        myControlParamsToRemove(new IMeshData::MapOfReal(1, myAllocator))
+        myControlParamsToRemove(new IMeshData::MapOfReal(1, myAllocator)),
+        myCurrParam(0.0),
+        myCurrControlParam(0.0),
+        myPrevControlParam(0.0)
     {
     }
 
index a74f2d23a2d275db69183aafeb17af07983c9398..9dfc40973b5f97758456b9d84eac6c9fd9e3b947 100644 (file)
@@ -28,6 +28,7 @@ public:
 
   //! Constructor.
   BRepMesh_NURBSRangeSplitter()
+  : mySurfaceType(GeomAbs_OtherSurface)
   {
   }
 
index c4c10a46269df376194dca11ec30d3f1bcee906e..4eb968edacb9f1752729eb1b5175be6114579e7f 100644 (file)
@@ -116,6 +116,7 @@ static void CopyRanges (const TopoDS_Shape& toedge, const TopoDS_Shape& fromedge
 //=======================================================================
 
 BRepTools_ReShape::BRepTools_ReShape()
+: myStatus(-1)
 {
   myConsiderLocation = Standard_False;
 }
index 1fe412abee44af452a3edb1b1f2124013439c5e1..7b0b7db4940fdd0c55c6117d768b479545cdc561 100644 (file)
@@ -63,7 +63,10 @@ static Standard_Real GetNextParamOnPC(const Handle(Geom2d_Curve)& aPC,
 //function : BRepTools_WireExplorer
 //purpose  : 
 //=======================================================================
-BRepTools_WireExplorer::BRepTools_WireExplorer() 
+BRepTools_WireExplorer::BRepTools_WireExplorer()
+: myReverse(Standard_False),
+  myTolU(0.0),
+  myTolV(0.0)
 {
 }
 
index e3190f0ce5e5dfa66947066bf66f895faaadbe94..8d389294b0d8fc1314687d737329fbea35f5572d 100644 (file)
@@ -84,7 +84,13 @@ static StatistiquesFClass2d STAT;
 
 
 BRepTopAdaptor_FClass2d::BRepTopAdaptor_FClass2d(const TopoDS_Face& aFace,const Standard_Real TolUV) 
-: Toluv(TolUV), Face(aFace)  { 
+: Toluv(TolUV),
+  Face(aFace),
+  U1(0.0),
+  V1(0.0),
+  U2(0.0),
+  V2(0.0)
+{
   
 #if LBRCOMPT 
   STAT.NbConstrShape++;
index 0b608df55c1846436cb086b7b5e6274faee6e68d..d89548561cd65a583d019c8c321d5a183811fbab 100644 (file)
@@ -48,7 +48,12 @@ static
 //function : BRepTopAdaptor_TopolTool
 //purpose  : 
 //=======================================================================
-  BRepTopAdaptor_TopolTool::BRepTopAdaptor_TopolTool () : myFClass2d(NULL)
+  BRepTopAdaptor_TopolTool::BRepTopAdaptor_TopolTool ()
+  : myFClass2d(NULL),
+    myU0(0.0),
+    myV0(0.0),
+    myDU(0.0),
+    myDV(0.0)
 {
   myNbSamplesU=-1;
 }
index 286b08a3940b033c5267070445512ad2fcbae000..3988d4123346c94c90e33b9f4e5306445bf1f577 100644 (file)
@@ -36,7 +36,8 @@ public: //! @name Constructor
   //! Constructor
   BVH_Distance()
     : BVH_Traverse <NumType, Dimension, BVHSetType, NumType>(),
-      myDistance (std::numeric_limits<NumType>::max())
+      myDistance (std::numeric_limits<NumType>::max()),
+      myIsDone(Standard_False)
   {
   }
 
index 5be06f3f8f94682511b403d08aa929365bb38cf8..85f3c0686a722a83a3f5b5df9ce4c1be0c399efd 100644 (file)
 template<class T, int N>
 BVH_DistanceField<T, N>::BVH_DistanceField (const Standard_Integer theMaximumSize,
                                             const Standard_Boolean theComputeSign)
-: myMaximumSize (theMaximumSize),
+: myDimensionX(0),
+  myDimensionY(0),
+  myDimensionZ(0),
+  myMaximumSize (theMaximumSize),
   myComputeSign (theComputeSign),
   myIsParallel  (Standard_False)
 {
index c7238ccfe93aa2400db8a8a5fecb19e5c7c0d9d2..5a4c3991effe25e1fca3f3dfc781c329e9ff6373 100644 (file)
@@ -38,7 +38,8 @@ public: //! @name Constructor
   //! Constructor
   BVH_PairDistance()
     : BVH_PairTraverse <NumType, Dimension, BVHSetType, NumType>(),
-      myDistance (std::numeric_limits<NumType>::max())
+      myDistance (std::numeric_limits<NumType>::max()),
+      myIsDone(Standard_False)
   {
   }
 
index e940e9b10acb6703a69a7a774b09ce3a298c69e7..a334b06a1ad781fdab19cd1eba5e55a13068b152 100644 (file)
@@ -77,9 +77,17 @@ static Standard_Boolean DiscretPar(const Standard_Real     DU,
 //purpose  :
 //=============================================================================
 Bisector_BisecCC::Bisector_BisecCC()
+: sign1(0.0),
+  sign2(0.0),
+  currentInterval(0),
+  shiftParameter(0.0),
+  distMax(0.0),
+  isEmpty(Standard_True),
+  isConvex1(Standard_False),
+  isConvex2(Standard_False),
+  extensionStart(Standard_False),
+  extensionEnd(Standard_False)
 {
-  shiftParameter = 0;
-  isEmpty        = Standard_False;
 }
 
 //=============================================================================
index fa0c7f0c4c8c251119968c50bee93646bc758fd9..784f8a90001b82dce8221164b81667dc155f624c 100644 (file)
@@ -51,6 +51,15 @@ IMPLEMENT_STANDARD_RTTIEXT(Bisector_BisecPC,Bisector_Curve)
 // purpose :
 //=============================================================================
 Bisector_BisecPC::Bisector_BisecPC()
+: sign(0.0),
+  bisInterval(0),
+  currentInterval(0),
+  shiftParameter(0.0),
+  distMax(0.0),
+  isEmpty(Standard_True),
+  isConvex(Standard_False),
+  extensionStart(Standard_False),
+  extensionEnd(Standard_False)
 {
 }
 
index c3c804c18f1fb24a9bfdfcb8d7232348ba56c7cd..0d3a1c0148e9f92ff8d0109bf0bada6c6c36424b 100644 (file)
 // purpose :
 //=============================================================================
 Bisector_PointOnBis::Bisector_PointOnBis()
+: param1(0.0),
+  param2(0.0),
+  paramBis(0.0),
+  distance(0.0),
+  infinite(Standard_False)
 {
 }
 
index 714099bc3d2ea3077ed17e32724a22e80bdcd3ac..2c02e551a6f4d0058b09d465104aeb450743de09 100644 (file)
@@ -44,9 +44,13 @@ BlendFunc_CSConstRad::BlendFunc_CSConstRad(const Handle(Adaptor3d_HSurface)& S,
                                            const Handle(Adaptor3d_HCurve)& C,
                                            const Handle(Adaptor3d_HCurve)& CG) :
 
-       surf(S),curv(C),guide(CG),istangent(Standard_True),
-       maxang(RealFirst()), minang(RealLast()),mySShape(BlendFunc_Rational)
-{}
+       surf(S),curv(C),guide(CG), prmc(0.0), 
+       istangent(Standard_True), ray(0.0),
+       choix(0), normtg(0.0), theD(0.0),
+       maxang(RealFirst()), minang(RealLast()),
+       mySShape(BlendFunc_Rational)
+{
+}
 
 
 //=======================================================================
index 6321d00116ae8a503811e7482f041003881bd244..81104d0d73080bf783b4d39aabe3696e079b3592 100644 (file)
@@ -40,9 +40,14 @@ BlendFunc_ChAsym::BlendFunc_ChAsym(const Handle(Adaptor3d_HSurface)& S1,
                                    const Handle(Adaptor3d_HCurve)& C) :
     surf1(S1),surf2(S2),
     curv(C), tcurv(C),
+    param(0),
+    dist1(RealLast()),
+    angle(RealLast()),
+    tgang(RealLast()),
     FX(1, 4),
     DX(1, 4, 1, 4),
     istangent(Standard_True),
+    choix(0),
     distmin(RealLast())
 { 
 }
index abfce00bb8e0a493e5e96e06ee10c98a33eb7052..b3afa5168b16b884048bf08bc5379f00ec3a457c 100644 (file)
 BlendFunc_ChAsymInv::BlendFunc_ChAsymInv(const Handle(Adaptor3d_HSurface)& S1,
                                          const Handle(Adaptor3d_HSurface)& S2,
                                          const Handle(Adaptor3d_HCurve)&   C) :
-    surf1(S1),surf2(S2),curv(C),
+    surf1(S1),surf2(S2),
+    dist1(RealLast()),
+    angle(RealLast()),
+    tgang(RealLast()),
+    curv(C), choix(0),
+    first(Standard_False),
     FX(1, 4),
     DX(1, 4, 1, 4)
 {
index 5c890dbc366e164f66b5b609df47e16f3b2a8c50..acfe0975bd50648422ea6222c2dc0ee6917e25bf 100644 (file)
@@ -51,16 +51,17 @@ BlendFunc_ConstRad::BlendFunc_ConstRad(const Handle(Adaptor3d_HSurface)& S1,
                                        const Handle(Adaptor3d_HSurface)& S2,
                                        const Handle(Adaptor3d_HCurve)& C)
                                  :
-                                 surf1(S1),surf2(S2),
-                                 curv(C), tcurv(C),
-                                 istangent(Standard_True),
-                                 xval(1,4), 
-                                 E(1,4), DEDX(1,4,1,4),  DEDT(1,4), 
-                                 D2EDX2(4,4,4),
-                                 D2EDXDT(1,4,1,4), D2EDT2(1,4),
-                                 maxang(RealFirst()), minang(RealLast()),
-                                 distmin(RealLast()),
-                                 mySShape(BlendFunc_Rational)
+                  surf1(S1),surf2(S2),
+                  curv(C), tcurv(C),
+                  istangent(Standard_True), param(0.0),
+                  ray1(0.0), ray2(0.0),
+                  choix(0), xval(1, 4),
+                  E(1,4), DEDX(1,4,1,4),  DEDT(1,4), 
+                  D2EDX2(4,4,4),
+                  D2EDXDT(1,4,1,4), D2EDT2(1,4),
+                  maxang(RealFirst()), minang(RealLast()),
+                  distmin(RealLast()),
+                  mySShape(BlendFunc_Rational)
 { 
 // Initialisaton of cash control variables.
   tval = -9.876e100;
index 24a795e2b479cc834c0e6a1ad47127a496e4b9e8..41df2e9831dd556eb32494be8c24ddaa28a0049a 100644 (file)
 
 BlendFunc_ConstRadInv::BlendFunc_ConstRadInv(const Handle(Adaptor3d_HSurface)& S1,
                                             const Handle(Adaptor3d_HSurface)& S2,
-                                            const Handle(Adaptor3d_HCurve)& C):
-       surf1(S1),surf2(S2),curv(C)
-{}
+                                            const Handle(Adaptor3d_HCurve)& C)
+: surf1(S1),
+  surf2(S2),
+  curv(C),
+  ray1(0.0),
+  ray2(0.0),
+  choix(0),
+  first(Standard_False)
+{
+}
 
 void BlendFunc_ConstRadInv::Set(const Standard_Real R,
                                const Standard_Integer Choix)
index 0eb7a01ac012ca35eaf7ed13367738a9fef4a1a8..f81925dc0ac81e768312c44734bd1de4c8be7840 100644 (file)
 BlendFunc_ConstThroat::BlendFunc_ConstThroat(const Handle(Adaptor3d_HSurface)& S1,
                                              const Handle(Adaptor3d_HSurface)& S2,
                                              const Handle(Adaptor3d_HCurve)& C)
-  : BlendFunc_GenChamfer(S1,S2,C)
+: BlendFunc_GenChamfer(S1,S2,C),
+  istangent(Standard_False),
+  param(0.0),
+  Throat(0.0),
+  normtg(0.0),
+  theD(0.0)
 {
 }
 
index 9b5a054aac991372632a93756f08eedc00cf7451..73a5b2d3e755792c0cfecb02b001eb7c78295a13 100644 (file)
 BlendFunc_ConstThroatInv::BlendFunc_ConstThroatInv(const Handle(Adaptor3d_HSurface)& S1,
                                                    const Handle(Adaptor3d_HSurface)& S2,
                                                    const Handle(Adaptor3d_HCurve)&   C)
-  : BlendFunc_GenChamfInv(S1,S2,C)
+: BlendFunc_GenChamfInv(S1,S2,C),
+  Throat(0.0),
+  param(0.0),
+  sign1(0.0),
+  sign2(0.0),
+  normtg(0.0),
+  theD(0.0)
 {
 }
 
index 1ef5ec4c23e3b5a5a14302689a1e4cc309eb53fe..7a7216bd2a31c41ac06a7f0ab74e531a710faf99 100644 (file)
 //purpose  : 
 //=======================================================================
 BlendFunc_Corde::BlendFunc_Corde(const Handle(Adaptor3d_HSurface)&   S,
-                                 const Handle(Adaptor3d_HCurve)&     CG) :
-    surf(S),guide(CG)
+                                 const Handle(Adaptor3d_HCurve)&     CG)
+: surf(S),
+  guide(CG),
+  dis(0.0),
+  normtg(0.0),
+  theD(0.0),
+  istangent(Standard_False)
 {
 }
 
index 925273f942679b67307f2506ca1693ddbb32e86d..1dc057abd181e1d08497403e19dc4dd9b48740a9 100644 (file)
 //=======================================================================
 BlendFunc_GenChamfInv::BlendFunc_GenChamfInv(const Handle(Adaptor3d_HSurface)& S1,
                                              const Handle(Adaptor3d_HSurface)& S2,
-                                             const Handle(Adaptor3d_HCurve)&   C) :
-  surf1(S1),surf2(S2),curv(C)
+                                             const Handle(Adaptor3d_HCurve)&   C)
+: surf1(S1),
+  surf2(S2),
+  curv(C),
+  choix(0),
+  first(Standard_False)
 {
 }
 
index 54fe63857b052ac26d212377efaffeff1eec4370..e3d571da9e724102e105ac77b18bc1f25d96a851 100644 (file)
 BlendFunc_GenChamfer::BlendFunc_GenChamfer(const Handle(Adaptor3d_HSurface)& S1,
                                            const Handle(Adaptor3d_HSurface)& S2,
                                            const Handle(Adaptor3d_HCurve)&   CG)
-  : surf1(S1),surf2(S2),curv(CG),
-    distmin(RealLast())
+: surf1(S1),
+  surf2(S2),
+  curv(CG),
+  choix(0),
+  tol(0.0),
+  distmin(RealLast())
 {
 }
 
index 0b5289ea01085aa089eebe656104f9f0760c1821..70cb80ec52edee12be0cd839622eab3051d87802 100644 (file)
@@ -35,10 +35,12 @@ BlendFunc_Ruled::BlendFunc_Ruled(const Handle(Adaptor3d_HSurface)& S1,
                                  const Handle(Adaptor3d_HSurface)& S2,
                                  const Handle(Adaptor3d_HCurve)& C) :
 
-                                surf1(S1),surf2(S2),curv(C),
-                                istangent(Standard_True),
-                                distmin(RealLast())
-{}
+                 surf1(S1),surf2(S2),curv(C),
+                 istangent(Standard_True),
+                 normtg(0.0), theD(0.0),
+                 distmin(RealLast())
+{
+}
 
 Standard_Integer BlendFunc_Ruled::NbEquations () const
 {
index b5c439bb11571e4112cbfd6b636d96453abe02c6..5f83a451b32b3f41e36a779478c34aed752ccae5 100644 (file)
 
 BlendFunc_RuledInv::BlendFunc_RuledInv(const Handle(Adaptor3d_HSurface)& S1,
                                        const Handle(Adaptor3d_HSurface)& S2,
-                                       const Handle(Adaptor3d_HCurve)& C) :
-       surf1(S1),surf2(S2),curv(C)
-{}
+                                       const Handle(Adaptor3d_HCurve)& C)
+: surf1(S1),
+  surf2(S2),
+  curv(C),
+  first(Standard_False)
+{
+}
 
 void BlendFunc_RuledInv::Set(const Standard_Boolean OnFirst,
                              const Handle(Adaptor2d_HCurve2d)& C)
index 60c780bf702a169ada98fc524daa35123e6ceeaa..e47631ad81ed757d8ea60f59215b57183b4ef265 100644 (file)
@@ -34,7 +34,12 @@ static TCollection_ExtendedString blank("");
 
 
 
-CDF_Store::CDF_Store() {}
+CDF_Store::CDF_Store()
+: myHasSubComponents(Standard_False),
+  myIsMainDocument(Standard_False),
+  myStatus(PCDM_SS_No_Obj)
+{
+}
 CDF_Store::CDF_Store(const Handle(CDM_Document)& aDocument):myHasSubComponents(Standard_False) {
   
   myMainDocument = aDocument;
index 160c2cdc88904ce5e05cd9328c32dcf7ab109caa..4f9db10ff27276913b4d6dff8a8bd21c80974856 100644 (file)
@@ -33,6 +33,7 @@ static CDM_MetaDataLookUpTable& getLookUpTable(){
 }
 CDM_MetaData::CDM_MetaData(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aName, const TCollection_ExtendedString& aPath,const TCollection_ExtendedString& aFileName,const Standard_Boolean ReadOnly):
 myIsRetrieved(Standard_False),
+myDocument(NULL),
 myFolder(aFolder),
 myName(aName),
 myHasVersion(Standard_False),
@@ -44,6 +45,7 @@ myIsReadOnly(ReadOnly)
 
 CDM_MetaData::CDM_MetaData(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aName, const TCollection_ExtendedString& aPath,const TCollection_ExtendedString& aVersion,const TCollection_ExtendedString& aFileName,const Standard_Boolean ReadOnly):
 myIsRetrieved(Standard_False),
+myDocument(NULL),
 myFolder(aFolder),
 myName(aName),
 myVersion(aVersion),
index cddfbafde3e6e5ea2d4da37fe27f647f718e931c..47e20540ad698de45ccd2deef085d0c4beeedb72 100644 (file)
@@ -28,7 +28,8 @@ CDM_Reference::CDM_Reference(const Handle(CDM_Document)& aFromDocument, const Ha
 myToDocument(aToDocument),
 myFromDocument(aFromDocument.operator->()),
 myReferenceIdentifier(aReferenceIdentifier),
-myDocumentVersion(aToDocumentVersion) 
+myDocumentVersion(aToDocumentVersion),
+myUseStorageConfiguration(Standard_False)
 {}
 
 CDM_Reference::CDM_Reference(const Handle(CDM_Document)& aFromDocument, const Handle(CDM_MetaData)& aToDocument, const Standard_Integer aReferenceIdentifier, const Handle(CDM_Application)& anApplication, const Standard_Integer aToDocumentVersion, const Standard_Boolean UseStorageConfiguration):
index b40750e39fbb03100c71c6a8d49ffa2b5f89ac8d..0d1f38faabfe4fc9808f06b20f8a8f60eb7b200e 100644 (file)
@@ -234,7 +234,12 @@ Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C,
 //purpose  : 
 //=======================================================================
 
-CPnts_AbscissaPoint::CPnts_AbscissaPoint() : myDone(Standard_False)
+CPnts_AbscissaPoint::CPnts_AbscissaPoint()
+: myDone(Standard_False),
+  myL(0.0),
+  myParam(0.0),
+  myUMin(0.0),
+  myUMax(0.0)
 {
 }
 
index 8253d06e21a27de418976d0e5446f87fda730ca5..447b90959fb1ac955bcb028bafec1968e1853f96 100644 (file)
@@ -231,9 +231,21 @@ void CPnts_UniformDeflection::Perform()
 //purpose  : 
 //=======================================================================
 
-CPnts_UniformDeflection::CPnts_UniformDeflection () 
-{ 
-  myDone = Standard_False;
+CPnts_UniformDeflection::CPnts_UniformDeflection ()
+: myDone(Standard_False),
+  my3d(Standard_False),
+  myFinish(Standard_False),
+  myTolCur(0.0),
+  myControl(Standard_False),
+  myIPoint(0),
+  myNbPoints(0),
+  myDwmax(0.0),
+  myDeflection(0.0),
+  myFirstParam(0.0),
+  myLastParam(0.0),
+  myDu(0.0)
+{
+  memset (myParams, 0, sizeof (myParams));
 } 
 
 //=======================================================================
index d0b18fbb2c44bbb9878e0b07ffd568354dc703ba..d23ec05e3c7ee41a3488997001c67a15116efa8a 100644 (file)
 Contap_ArcFunction::Contap_ArcFunction ():
 myMean(1.),
 myType(Contap_ContourStd),
-myDir(0.,0.,1.)
-{}
+myDir(0.,0.,1.),
+myCosAng(0.0)
+{
+}
 
 
 void Contap_ArcFunction::Set(const Handle(Adaptor3d_HSurface)& S)
index 86a84a50739249d07a74fba78753f002dd035022..4c81c24e7aaf3b2905724671815220e4c7e61731 100644 (file)
 
 static const Standard_Real Tolpetit = 1.e-8;
 
-Contap_ContAna::Contap_ContAna (): done(Standard_False) {}
+Contap_ContAna::Contap_ContAna ()
+: done(Standard_False),
+  nbSol(0),
+  typL(GeomAbs_OtherCurve),
+  prm(0.0)
+{
+}
 
 void Contap_ContAna::Perform (const gp_Sphere& S,
                               const gp_Dir& D)
index 4fb0742b2cd47f81a88810f32b6c6509c4a9f4a9..372925f8120eaea678687a76c2c6a3f7597282fa 100644 (file)
 #include <Standard_DomainError.hxx>
 
 Contap_Point::Contap_Point ():
-  onarc(Standard_False),isvtx(Standard_False),ismult(Standard_False),
-  myInternal(Standard_False)
-{}
+uparam(0.0), vparam(0.0), paraline(0.0),
+onarc(Standard_False), prmarc(0.0), isvtx(Standard_False),
+ismult(Standard_False), myInternal(Standard_False)
+{
+}
 
 Contap_Point::Contap_Point (const gp_Pnt& Pt,
                             const Standard_Real U,
                             const Standard_Real V):
-pt(Pt),uparam(U),vparam(V),onarc(Standard_False),isvtx(Standard_False),
-ismult(Standard_False),myInternal(Standard_False)
-{}
+pt(Pt),uparam(U),vparam(V),
+paraline(0.0), onarc(Standard_False),
+prmarc(0.0), isvtx(Standard_False),
+ismult(Standard_False), myInternal(Standard_False)
+{
+}
\ No newline at end of file
index 6645815fb3e2499788a719a3d1840dd424bd64ee..819f626a4a4bad97c1d333d22ac16fad7f222670 100644 (file)
@@ -32,11 +32,19 @@ Contap_SurfFunction::Contap_SurfFunction ():
   myMean(1.),
   myType(Contap_ContourStd),
   myDir(0.,0.,1.),
+  myAng(0.0),
   myCosAng(0.), // PI/2 - Angle de depouille
   tol(1.e-6),
+  valf(0.0),
+  Usol(0.0),
+  Vsol(0.0),
+  Fpu(0.0),
+  Fpv(0.0),
+  tangent(Standard_False),
   computed(Standard_False),
   derived(Standard_False)
-{}
+{
+}
 
 void Contap_SurfFunction::Set(const Handle(Adaptor3d_HSurface)& S)
 {
index 33203100f10ab1367cb0e57fd2de469ea4a4a18c..ba2783967d68671b0d8a607054cd64caf7d90d84 100644 (file)
 //=======================================================================
 
 DBRep_HideData::DBRep_HideData()
-{}
+: myView(-1),
+  myFocal(0.0),
+  myAngle(0.0)
+{
+}
 
 //=======================================================================
 //function : Set
index b880a3eef557c3f02c6bf23032658ed306f70dce..7a3c35e35afb99a3b316084d308ca6901101ea00 100644 (file)
@@ -26,6 +26,10 @@ IMPLEMENT_STANDARD_RTTIEXT(Draw_Drawable3D,Standard_Transient)
 //purpose  : 
 //=======================================================================
 Draw_Drawable3D::Draw_Drawable3D() :
+  myXmin(0.0),
+  myXmax(0.0),
+  myYmin(0.0),
+  myYmax(0.0),
   isVisible(Standard_False),
   isProtected(Standard_False),
   myName(NULL)
index 84e9d36f00f699b018887ed0b2786450a431067b..e8cfe0c78dd03a52c4e039c9b8122c2b92a53a13 100644 (file)
@@ -277,7 +277,8 @@ Draw_Interpretor::Draw_Interpretor(const Draw_PInterp& p) :
   isAllocated(Standard_False),
   myInterp(p),
   myDoLog(Standard_False),
-  myDoEcho(Standard_False)
+  myDoEcho(Standard_False),
+  myFDLog(-1)
 {
 }
 
index c2dd8663b4a9443d691c9f8dd1f7f1297ba3cd05..dd8a0bbe5631eecdb02b1e06c47f07156a80d1c0 100644 (file)
@@ -40,7 +40,7 @@ Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T,
 
 Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T,
                             const Draw_Color& C, const Standard_Real /*RSize*/) :
-       myPos(P), myCol(C), myTyp(T)
+       myPos(P), myCol(C), myTyp(T), mySiz(0)
 {
 }
 
index 7c705e94dcc4966d2d51c2500dc380e8be9d44c9..a72b4ba24905dafffc8ee0bd9be307c5d755668b 100644 (file)
@@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Draw_Marker3D,Draw_Drawable3D)
 //=======================================================================
 Draw_Marker3D::Draw_Marker3D(const gp_Pnt& P, const Draw_MarkerShape T,
                             const Draw_Color& C, const Standard_Integer S) :
-       myPos(P), myCol(C), myTyp(T), mySiz(S), myIsRSiz(Standard_False)
+       myPos(P), myCol(C), myTyp(T), mySiz(S), myRSiz(0.0), myIsRSiz(Standard_False)
 {
 }
 
@@ -40,7 +40,7 @@ Draw_Marker3D::Draw_Marker3D(const gp_Pnt& P, const Draw_MarkerShape T,
 
 Draw_Marker3D::Draw_Marker3D(const gp_Pnt& P, const Draw_MarkerShape T,
                             const Draw_Color& C, const Standard_Real RSize) :
-       myPos(P), myCol(C), myTyp(T), myRSiz(RSize), myIsRSiz(Standard_True)
+       myPos(P), myCol(C), myTyp(T), mySiz(0), myRSiz(RSize), myIsRSiz(Standard_True)
 {
 }
 
index e59a4e871fcd178691a8476716424aa6ad40bc2a..6739118543a28a7103fdd425fd59a47466ced1bd 100644 (file)
@@ -40,6 +40,7 @@ Draw_View::Draw_View(Standard_Integer theId,
   myFrameX1  (0),
   myFrameY1  (0)
 {
+  memset (myType, 0, sizeof (myType));
 }
 
 //=======================================================================
@@ -68,6 +69,7 @@ Draw_View::Draw_View(Standard_Integer theId,
   myFrameX1  (0),
   myFrameY1  (0)
 {
+  memset (myType, 0, sizeof (myType));
 }
 
 //=======================================================================
@@ -96,6 +98,7 @@ Draw_View::Draw_View(Standard_Integer theId,
   myFrameX1  (0),
   myFrameY1  (0)
 {
+  memset (myType, 0, sizeof (myType));
 }
 #endif
 
@@ -130,6 +133,7 @@ Draw_View::Draw_View(Standard_Integer theId,
   myFrameX1    (0),
   myFrameY1    (0)
 {
+  memset (myType, 0, sizeof (myType));
 }
 
 //=======================================================================
index fc2aa8fe51c1abe25358bd5ba4c6256c88fdaa83..7ef1b0b5cefc033d5a74a57a4084cb8f5045e82b 100644 (file)
@@ -1453,7 +1453,9 @@ DrawWindow::DrawWindow() :
         next(firstWindow),
         previous(NULL),
         myMemHbm(NULL),
-        myUseBuffer(Standard_False)
+        myUseBuffer(Standard_False),
+        myCurrPen(0),
+        myCurrMode(0)
 {
   if (firstWindow) firstWindow->previous = this;
   firstWindow = this;
index 2b9614ce85f508e581c968e481f1121718f9a296..38b49d90f3b29b7ba4abac6c3ae5b5a28affb93d 100644 (file)
@@ -370,7 +370,13 @@ class Segment
   friend class DrawWindow;
   public :
     //constructeur
-    Segment () {}
+    Segment ()
+    : x1(0),
+      y1(0),
+      x2(0),
+      y2(0)
+    {
+    }
     //destructeur
     ~Segment () {}
 
index 2265c4f36e62b3ca44dda471bb00f7a332de639a..fb145da4831e1256869f8aa0982323db9b8b7cc0 100644 (file)
@@ -32,6 +32,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DrawDim_Dimension,Draw_Drawable3D)
 //=======================================================================
 DrawDim_Dimension::DrawDim_Dimension()
      : is_valued(Standard_False),
+       myValue(0.0),
        myTextColor(Draw_blanc)
 {
 }
index 7e23dab0e6b1fdf64e57d0f21ae90b9c631684f0..3a36a87d55908b2a750e42f58b82616f3091cecb 100644 (file)
@@ -55,7 +55,8 @@
 Extrema_ExtCC::Extrema_ExtCC (const Standard_Real TolC1,
                               const Standard_Real TolC2)
 : myIsFindSingleSolution(Standard_False),
-  myDone (Standard_False)
+  myDone (Standard_False),
+  myIsPar(Standard_False)
 {
   myC[0] = 0; myC[1] = 0;
   myInf[0] = myInf[1] = -Precision::Infinite();
index eee89c65babf973404b19445282810947d6085cb..2fc69569f1df150d57545da2f004fd5cbad640f1 100644 (file)
 #include <StdFail_NotDone.hxx>
 
 Extrema_ExtCC2d::Extrema_ExtCC2d()
-: myIsFindSingleSolution(Standard_False)
+: myIsFindSingleSolution(Standard_False),
+  myDone(Standard_False),
+  myIsPar(Standard_False),
+  mynbext(0),
+  inverse(Standard_False),
+  myv1(0.0),
+  myv2(0.0),
+  mytolc1(0.0),
+  mytolc2(0.0),
+  mydist11(0.0),
+  mydist12(0.0),
+  mydist21(0.0),
+  mydist22(0.0)
 {
 }
 
index 0f980966e2c43cc773547731454f425ee56e01ad..91d87758dea33041c98721bb8ca80dbc1ca3911b 100644 (file)
 #include <TColStd_Array1OfReal.hxx>
 #include <Extrema_ExtPS.hxx>
 
-Extrema_ExtCS::Extrema_ExtCS() 
+Extrema_ExtCS::Extrema_ExtCS()
+: myS(NULL),
+  myDone(Standard_False),
+  myIsPar(Standard_False),
+  myuinf(0.0),
+  myusup(0.0),
+  myvinf(0.0),
+  myvsup(0.0),
+  mytolC(0.0),
+  mytolS(0.0),
+  myucinf(0.0),
+  myucsup(0.0),
+  myStype(GeomAbs_OtherSurface)
 {
-  myDone = Standard_False;
 }
 
 Extrema_ExtCS::Extrema_ExtCS(const Adaptor3d_Curve&   C,
index b1e0a8f6444672828a73dd4f75bc2129b06a5494..e487afb2fe30558f664dc947d89bc592234f39ce 100644 (file)
@@ -119,6 +119,8 @@ ExtremaExtElC_TrigonometricRoots::
                                   const Standard_Real Cte,
                                   const Standard_Real Binf,
                                   const Standard_Real Bsup) 
+: NbRoots(0),
+  infinite_roots(Standard_False)
 {
   Standard_Integer i, nbessai;
   Standard_Real cc ,sc, c, s, cte;
@@ -232,10 +234,9 @@ Extrema_ExtElC::Extrema_ExtElC ()
   myDone = Standard_False; 
   myIsPar = Standard_False;
   myNbExt = 0;
-
-  for (Standard_Integer i = 0; i < 6; i++)
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
   {
-    mySqDist[i] = RealLast();
+    mySqDist[anIdx] = RealLast();
   }
 }
 //=======================================================================
@@ -294,6 +295,10 @@ Extrema_ExtElC::Extrema_ExtElC (const gp_Lin& theC1,
   myDone = Standard_False;
   myNbExt = 0;
   myIsPar = Standard_False;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   const gp_Dir &aD1 = theC1.Position().Direction(),
                &aD2 = theC2.Position().Direction();
@@ -460,6 +465,10 @@ Extrema_ExtElC::Extrema_ExtElC (const gp_Lin& C1,
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   if (PlanarLineCircleExtrema(C1, C2))
   {
@@ -631,6 +640,10 @@ Method:
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate T1 the reference of the ellipse ...
   gp_Dir D = C1.Direction();
@@ -744,6 +757,10 @@ Method:
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate T1 in the reference of the hyperbola...
   gp_Dir D = C1.Direction();
@@ -839,6 +856,10 @@ Method:
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate T1 in the reference of the parabola...
   gp_Dir D = C1.Direction();
@@ -900,6 +921,10 @@ Extrema_ExtElC::Extrema_ExtElC (const gp_Circ& C1,
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
   //
   aTolA=Precision::Angular();
   aTolD=Precision::Confusion();
index 4a136903692b62ee764d041007e3d0c59d20aff1..967acf41c5d3553fc73907a46952ae12deeaa28a 100644 (file)
@@ -39,10 +39,9 @@ Extrema_ExtElC2d::Extrema_ExtElC2d()
   myDone = Standard_False;
   myIsPar = Standard_False;
   myNbExt = 0;
-
-  for (Standard_Integer i = 0; i < 8; i++)
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
   {
-    mySqDist[i] = RealLast();
+    mySqDist[anIdx] = RealLast();
   }
 }
 
@@ -70,6 +69,10 @@ Method:
   myDone = Standard_False;
   myIsPar = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   gp_Vec2d D1(C1.Direction());
   gp_Vec2d D2(C2.Direction());
@@ -125,6 +128,10 @@ Method:
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate T1 in the reference of the circle ...
   gp_Dir2d D = C1.Direction();
@@ -172,6 +179,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Lin2d& C1,
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate T1 in the reference of the ellipse ...
   gp_Dir2d D = C1.Direction();
@@ -219,6 +230,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Lin2d& C1, const gp_Hypr2d& C2)
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate T1 in the reference of the parabole ...
   gp_Dir2d D = C1.Direction();
@@ -255,6 +270,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Lin2d& C1, const gp_Parab2d& C2)
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
 // Calculate  T1 in the reference of the parabole ...
   gp_Dir2d D = C1.Direction();
@@ -289,6 +308,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Circ2d& C1, const gp_Circ2d& C2)
   myDone  = Standard_False;
   myNbExt = 0;
   myDone  = Standard_True;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   gp_Pnt2d O1 = C1.Location();
   gp_Pnt2d O2 = C2.Location();
@@ -339,6 +362,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Circ2d& C1, const gp_Elips2d& C2)
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   Standard_Integer i, j;
 
@@ -368,6 +395,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Circ2d& C1, const gp_Hypr2d& C2)
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   Standard_Integer i, j;
 
@@ -397,6 +428,10 @@ Extrema_ExtElC2d::Extrema_ExtElC2d (const gp_Circ2d& C1, const gp_Parab2d& C2)
   myIsPar = Standard_False;
   myDone = Standard_False;
   myNbExt = 0;
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 
   Standard_Integer i, j;
 
index 969c8b64ce6d5f52afcb948897169cc86d651199..bd8a0ec15962035231dabfc6f8765e8372b0e230 100644 (file)
@@ -155,6 +155,10 @@ Extrema_ExtPExtS::Extrema_ExtPExtS()
   myDone(Standard_False),
   myNbExt(0)
 {
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
 }
 
 //=============================================================================
@@ -178,6 +182,10 @@ Extrema_ExtPExtS::Extrema_ExtPExtS (const gp_Pnt&
   myDone(Standard_False),
   myNbExt(0)
 {
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
   Initialize (theS,
               theUmin,
               theUsup,
@@ -205,6 +213,10 @@ Extrema_ExtPExtS::Extrema_ExtPExtS (const gp_Pnt&
   myDone(Standard_False),
   myNbExt(0)
 {
+  for (size_t anIdx = 0; anIdx < sizeof (mySqDist) / sizeof (mySqDist[0]); anIdx++)
+  {
+    mySqDist[anIdx] = RealLast();
+  }
   Initialize (theS,
               theS->FirstUParameter(),
               theS->LastUParameter(),
index b4a03c85f088965ef78072264c14f3fe835ace74..4c5046b29f4d2306c8a29a5626cc1648cab0a69c 100644 (file)
@@ -143,8 +143,20 @@ void Extrema_ExtPS::TreatSolution (const Extrema_POnSurf& PS,
 //=======================================================================
 
 Extrema_ExtPS::Extrema_ExtPS()
+: myS(NULL),
+  myDone(Standard_False),
+  myuinf(0.0),
+  myusup(0.0),
+  myvinf(0.0),
+  myvsup(0.0),
+  mytolu(0.0),
+  mytolv(0.0),
+  d11(0.0),
+  d12(0.0),
+  d21(0.0),
+  d22(0.0),
+  mytype(GeomAbs_OtherSurface)
 {
-  myDone = Standard_False;
 }
 
 
index d1bfc113b5adabf3ff25c51e2962077c3aab055f..52845d39e67c1067418b0e7838d87e0eee82472c 100644 (file)
 #include <Standard_OutOfRange.hxx>
 #include <StdFail_NotDone.hxx>
 
-Extrema_ExtSS::Extrema_ExtSS() 
+Extrema_ExtSS::Extrema_ExtSS()
+: myS2(NULL),
+  myDone(Standard_False),
+  myIsPar(Standard_False),
+  myuinf1(0.0),
+  myusup1(0.0),
+  myvinf1(0.0),
+  myvsup1(0.0),
+  myuinf2(0.0),
+  myusup2(0.0),
+  myvinf2(0.0),
+  myvsup2(0.0),
+  mytolS1(0.0),
+  mytolS2(0.0),
+  myStype(GeomAbs_OtherSurface)
 {
-  myDone = Standard_False;
 }
 
 Extrema_ExtSS::Extrema_ExtSS(const Adaptor3d_Surface&     S1,
index 2dfa2126eff2e54fc129ff319d6c6fdc0bcaac9c..ffacecc19c8589bd3d5b6fb31bf9296503132fa9 100644 (file)
@@ -51,6 +51,11 @@ les algorithmes math_FunctionRoot et math_FunctionRoots.
 //purpose  : 
 //=======================================================================
  Extrema_FuncExtCS::Extrema_FuncExtCS()
+ : myC(NULL),
+   myS(NULL),
+   myt(0.0),
+   myU(0.0),
+   myV(0.0)
 {
   myCinit = Standard_False;
   mySinit = Standard_False;
index 642e0eaa6d7b7503ec4129c546a8b4c8c7b4d985..b311ef0c0ecd0126f19846196375e73fed033a2a 100644 (file)
 //purpose  : 
 //=======================================================================
 Extrema_FuncExtSS::Extrema_FuncExtSS ()
+: myS1(NULL),
+  myS2(NULL),
+  myU1(0.0),
+  myV1(0.0),
+  myU2(0.0),
+  myV2(0.0)
 {
   myS1init = Standard_False;
   myS2init = Standard_False;
@@ -68,6 +74,10 @@ Extrema_FuncExtSS::Extrema_FuncExtSS ()
 
 Extrema_FuncExtSS::Extrema_FuncExtSS (const Adaptor3d_Surface& S1,
                                      const Adaptor3d_Surface& S2)
+: myU1(0.0),
+  myV1(0.0),
+  myU2(0.0),
+  myV2(0.0)
 {
   myS1 = (Adaptor3d_SurfacePtr)&S1;
   myS2 = (Adaptor3d_SurfacePtr)&S2;
index 867ff8a0fe3af3f44a0d4206e2c029e3b06d16c2..d73d0b9740a4fc69fa32efcd465290a6e1bac41c 100644 (file)
@@ -26,6 +26,9 @@
 #include <Standard_TypeMismatch.hxx>
 
 Extrema_FuncPSNorm::Extrema_FuncPSNorm ()
+: myS(NULL),
+  myU(0.0),
+  myV(0.0)
 {
   myPinit = Standard_False;
   mySinit = Standard_False;
@@ -34,6 +37,8 @@ Extrema_FuncPSNorm::Extrema_FuncPSNorm ()
 //=============================================================================
 Extrema_FuncPSNorm::Extrema_FuncPSNorm (const gp_Pnt& P,
                                       const Adaptor3d_Surface& S)
+: myU(0.0),
+  myV(0.0)
 {
   myP = P;
   myS = (Adaptor3d_SurfacePtr)&S;
index 3f08ab5291fc0a2012c451555c37d583d1d6a73a..2ff7748895ebfe41a2ddc7eba05f6949381e4604 100644 (file)
 //purpose  : 
 //=======================================================================
 
-Extrema_GLocateExtPC::Extrema_GLocateExtPC() { }
+Extrema_GLocateExtPC::Extrema_GLocateExtPC()
+: myC(NULL),
+  mydist2(0.0),
+  myismin(Standard_False),
+  myDone(Standard_False),
+  myumin(0.0),
+  myusup(0.0),
+  mytol(0.0),
+  type(GeomAbs_OtherCurve),
+  numberext(0)
+{
+}
 
 
 //=======================================================================
index bae4a5dcded46263f20ac299e73f97d891a1c853..0034bb5ac90a4cf7055ec0a3631e3215fa9c691f 100644 (file)
@@ -107,9 +107,20 @@ static void GetSurfMaxParamVals (const Adaptor3d_Surface& theS,
 //purpose  : 
 //=======================================================================
 Extrema_GenExtCS::Extrema_GenExtCS()
+: myDone(Standard_False),
+  mytmin(0.0),
+  mytsup(0.0),
+  myumin(0.0),
+  myusup(0.0),
+  myvmin(0.0),
+  myvsup(0.0),
+  mytsample(0),
+  myusample(0),
+  myvsample(0),
+  mytol1(0.0),
+  mytol2(0.0),
+  myS(NULL)
 {
-  myDone = Standard_False;
-  myInit = Standard_False;
 }
 
 //=======================================================================
index 7f64f7cffd9787342379358f32c35a61260d8a15..932a746cb2d6ad63ba056eb247f343f5b53f27bf 100644 (file)
@@ -133,7 +133,6 @@ private:
 
 
   Standard_Boolean myDone;
-  Standard_Boolean myInit;
   Standard_Real mytmin;
   Standard_Real mytsup;
   Standard_Real myumin;
index bf6390935be631c98fe7f07c8b0547fc18b577b6..8dbb6d4a6f4148029420b3421194abbff392b256 100644 (file)
 //purpose  : 
 //=======================================================================
 
-Extrema_GenExtPC::Extrema_GenExtPC () { 
-  myDone = Standard_False;
-  myInit = Standard_False;
+Extrema_GenExtPC::Extrema_GenExtPC ()
+: myDone(Standard_False),
+  myInit(Standard_False),
+  mynbsample(0),
+  myumin(0.0),
+  myusup(0.0),
+  mytolu(0.0),
+  mytolF(0.0)
+{ 
 }
 
 
index dcd5a8f94f437e4bffd979e888b26168c1e2c119..5114c045a32628b351e8fca46b164a1d9ac0ceb6 100644 (file)
@@ -217,7 +217,16 @@ Processing:
       - update table TbSel.
 -----------------------------------------------------------------------------*/
 
-Extrema_GenExtPS::Extrema_GenExtPS() 
+Extrema_GenExtPS::Extrema_GenExtPS()
+: myumin(0.0),
+  myusup(0.0),
+  myvmin(0.0),
+  myvsup(0.0),
+  myusample(0),
+  myvsample(0),
+  mytolu(0.0),
+  mytolv(0.0),
+  myS(NULL)
 {
   myDone = Standard_False;
   myInit = Standard_False;
index 7d691f3e4e8d264c4c9e76179424d9e8587c25f0..6db3f8eb6d49a0ffd123514f35d7859acd08cad3 100644 (file)
@@ -101,6 +101,19 @@ private:
 //purpose  : 
 //=======================================================================
 Extrema_GenExtSS::Extrema_GenExtSS()
+: myu1min(0.0),
+  myu1sup(0.0),
+  myv1min(0.0),
+  myv1sup(0.0),
+  myu2min(0.0),
+  myu2sup(0.0),
+  myv2min(0.0),
+  myv2sup(0.0),
+  myusample(0),
+  myvsample(0),
+  mytol1(0.0),
+  mytol2(0.0),
+  myS2(NULL)
 {
   myDone = Standard_False;
   myInit = Standard_False;
index 56a77c583c9d6bfd86f14e37fa6c1bb3904d5f73..1aaf19a5c7131e252044eeb75960ab52a14fd9e3 100644 (file)
@@ -46,6 +46,7 @@ Methode:
 -----------------------------------------------------------------------------*/
 {
   myDone = Standard_False;
+  mySqDist = RealLast();
 
   Standard_Real Uinf = Tool1::FirstParameter(C1);
   Standard_Real Usup = Tool1::LastParameter(C1);
index 880715a9fe9b2a87b3a653a2b677f9fc6455126a..c043128db76cccfcfa2162377b0ce26c25d801c9 100644 (file)
@@ -32,6 +32,8 @@
 //purpose  : 
 //=======================================================================
 Extrema_GenLocateExtCS::Extrema_GenLocateExtCS()
+: myDone(Standard_False),
+  mySqDist(RealLast())
 {
 }
 
index dfc62eb05d392f0fdd5b82356a0a61abfcfb4827..98b6cc6a49eb7874b41e992b4a1532ff84a51498 100644 (file)
 //purpose  : 
 //=======================================================================
 
-Extrema_GenLocateExtPC::Extrema_GenLocateExtPC() 
-{ 
-  myDone = Standard_False; 
+Extrema_GenLocateExtPC::Extrema_GenLocateExtPC()
+: myDone(Standard_False),
+  mytolU(0.0),
+  myumin(0.0),
+  myusup(0.0)
+{
 }
 
 
index 5e9c485a014956383ecb5bfa7e8995df245868c3..f7e8e2104809ebe16979c37d7a0f5eea6aa85993 100644 (file)
@@ -30,6 +30,8 @@
 //purpose  : 
 //=======================================================================
 Extrema_GenLocateExtSS::Extrema_GenLocateExtSS()
+: myDone(Standard_False),
+  mySqDist(RealLast())
 {
 }
 
index 5246d3c05a6369e8ff76a9e854d45ae70d2b9ac5..85126c33e74e7ffa9157f8ca92db62abc72449c2 100644 (file)
@@ -218,7 +218,9 @@ static Standard_Boolean _Hessian (const Adaptor2d_Curve2d& C1,
 Extrema_GlobOptFuncCCC0::Extrema_GlobOptFuncCCC0(const Adaptor3d_Curve& C1,
                                                  const Adaptor3d_Curve& C2)
 : myC1_3d(&C1),
-  myC2_3d(&C2)
+  myC2_3d(&C2),
+  myC1_2d(NULL),
+  myC2_2d(NULL)
 {
   myType = 1;
 }
@@ -229,7 +231,9 @@ Extrema_GlobOptFuncCCC0::Extrema_GlobOptFuncCCC0(const Adaptor3d_Curve& C1,
 //=======================================================================
 Extrema_GlobOptFuncCCC0::Extrema_GlobOptFuncCCC0(const Adaptor2d_Curve2d& C1,
                                                  const Adaptor2d_Curve2d& C2)
-: myC1_2d(&C1),
+: myC1_3d(NULL),
+  myC2_3d(NULL),
+  myC1_2d(&C1),
   myC2_2d(&C2)
 {
   myType = 2;
@@ -266,7 +270,9 @@ Standard_Boolean Extrema_GlobOptFuncCCC0::Value(const math_Vector& X,Standard_Re
 Extrema_GlobOptFuncCCC1::Extrema_GlobOptFuncCCC1(const Adaptor3d_Curve& C1,
                                                  const Adaptor3d_Curve& C2)
 : myC1_3d(&C1),
-  myC2_3d(&C2)
+  myC2_3d(&C2),
+  myC1_2d(NULL),
+  myC2_2d(NULL)
 {
   myType = 1;
 }
@@ -277,7 +283,9 @@ Extrema_GlobOptFuncCCC1::Extrema_GlobOptFuncCCC1(const Adaptor3d_Curve& C1,
 //=======================================================================
 Extrema_GlobOptFuncCCC1::Extrema_GlobOptFuncCCC1(const Adaptor2d_Curve2d& C1,
                                                  const Adaptor2d_Curve2d& C2)
-: myC1_2d(&C1),
+: myC1_3d(NULL),
+  myC2_3d(NULL),
+  myC1_2d(&C1),
   myC2_2d(&C2)
 {
   myType = 2;
@@ -334,7 +342,9 @@ Standard_Boolean Extrema_GlobOptFuncCCC1::Values(const math_Vector& X,Standard_R
 Extrema_GlobOptFuncCCC2::Extrema_GlobOptFuncCCC2(const Adaptor3d_Curve& C1,
                                                  const Adaptor3d_Curve& C2)
 : myC1_3d(&C1),
-  myC2_3d(&C2)
+  myC2_3d(&C2),
+  myC1_2d(NULL),
+  myC2_2d(NULL)
 {
   myType = 1;
 }
@@ -345,7 +355,9 @@ Extrema_GlobOptFuncCCC2::Extrema_GlobOptFuncCCC2(const Adaptor3d_Curve& C1,
 //=======================================================================
 Extrema_GlobOptFuncCCC2::Extrema_GlobOptFuncCCC2(const Adaptor2d_Curve2d& C1,
                                                  const Adaptor2d_Curve2d& C2)
-: myC1_2d(&C1),
+: myC1_3d(NULL),
+  myC2_3d(NULL),
+  myC1_2d(&C1),
   myC2_2d(&C2)
 {
   myType = 2;
index 251899c3f7de099fb60e97797dd8d870900b2868..488a0599bf05208bb0050d998eac2b0611f665a9 100644 (file)
@@ -27,6 +27,7 @@ Extrema_LocateExtCC::Extrema_LocateExtCC (const Adaptor3d_Curve& C1,
                                           const Adaptor3d_Curve& C2,
                                           const Standard_Real U0,
                                           const Standard_Real V0)
+: mySqDist(RealLast())
 {
   Standard_Real TolU = C1.Resolution(Precision::Confusion());
   Standard_Real TolV = C2.Resolution(Precision::Confusion());
index 5bafa089477158987e84eed068e7b16fe1f77a3a..cf7eab8e32ac15bbc4b368e8f9849f0e275173d6 100644 (file)
@@ -35,6 +35,7 @@ Extrema_LocateExtCC2d::Extrema_LocateExtCC2d (const Adaptor2d_Curve2d&       C1,
                                               const Adaptor2d_Curve2d&       C2,
                                               const Standard_Real U0,
                                               const Standard_Real V0)
+: mySqDist(RealLast())
 {
   Standard_Real TolU = Extrema_Curve2dTool::Resolution(C1, Precision::Confusion());
   Standard_Real TolV = Extrema_Curve2dTool::Resolution(C2, Precision::Confusion());
index 61e030ffcf0bc029c08b31ff4b79a826af6c8ef5..dfaa48ca9736c23ae961fea0dfdd216cc616c357 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(FEmTool_ElementaryCriterion,Standard_Transient)
 
-void FEmTool_ElementaryCriterion::Set(const Handle(TColStd_HArray2OfReal)& Coeff) 
+FEmTool_ElementaryCriterion::FEmTool_ElementaryCriterion()
+: myFirst(0.0),
+  myLast(0.0)
+{
+}
+
+void FEmTool_ElementaryCriterion::Set(const Handle(TColStd_HArray2OfReal)& Coeff)
 {
   myCoeff = Coeff;
 }
index f9744459e22f651eba9a465ef46422d5a1c6f035..3ea17b469424397b2a2eedbb46fd48bf0a144335 100644 (file)
@@ -39,7 +39,8 @@ class FEmTool_ElementaryCriterion : public Standard_Transient
 {
 
 public:
-
+  //! Empty constructor
+  Standard_EXPORT FEmTool_ElementaryCriterion();
   
   //! Set the coefficient of the Element (the  Curve)
   Standard_EXPORT void Set (const Handle(TColStd_HArray2OfReal)& Coeff);
index afa1ee59da98a003dc4998ddc1d9e6b4d2c2d55a..d314e82a33a527dec18d05be2e376d3bb8e0f7af 100644 (file)
@@ -44,7 +44,8 @@ FairCurve_EnergyOfBatten::FairCurve_EnergyOfBatten(const Standard_Integer BSplOr
                            OriginalSliding(LengthSliding),
                            MyBattenLaw(Law), 
                            MyTension(BSplOrder, FlatKnots, Poles, 1, LengthSliding,  Law, FreeSliding),
-                           MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding)
+                           MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding),
+                           MyStatus(FairCurve_OK)
 {
 }
 
index e53e6c895b2c41bc5cda3f175a53fb75eeef7a52..0957591e144b88275ed36470d1f33be405f6eeb7 100644 (file)
@@ -46,7 +46,8 @@ FairCurve_EnergyOfMVC::FairCurve_EnergyOfMVC(const Standard_Integer BSplOrder,
                            MyPhysicalRatio(PhysicalRatio),
                            MyTension(BSplOrder, FlatKnots, Poles, 1, LengthSliding,  Law, FreeSliding, Standard_True),
                            MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding),
-                           MyJerk(   BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding)
+                           MyJerk(   BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding),
+                           MyStatus(FairCurve_OK)
 {
   Standard_DomainError_Raise_if(PhysicalRatio < 0 || PhysicalRatio > 1, 
                                 "FairCurve_EnergyOfMVC: PhysicalRatio error" );
index bb10c5752503c6bc5426fd58fb1eea6cd2c976ee..f600e2dfbb32706f9824f28c542cb0ded5f44c45 100644 (file)
@@ -82,7 +82,9 @@ gp_Pnt GCPnts_QuasiUniformDeflection::Value
 //=======================================================================
 
 GCPnts_QuasiUniformDeflection::GCPnts_QuasiUniformDeflection ()
-:myDone(Standard_False),myCont(GeomAbs_C1)
+: myDone(Standard_False),
+  myDeflection(0.0),
+  myCont(GeomAbs_C1)
 {
 } 
 
index 7019e58c9b8924e99636706352d1daad8be5bf6c..ac90aab9ee7af986f765e802f02d86ae0753c515 100644 (file)
@@ -103,7 +103,16 @@ static Standard_Integer getIntervalIdx(const Standard_Real theParam,
 //purpose  : 
 //=======================================================================
 
-GCPnts_TangentialDeflection::GCPnts_TangentialDeflection () { }
+GCPnts_TangentialDeflection::GCPnts_TangentialDeflection ()
+: angularDeflection(0.0),
+  curvatureDeflection(0.0),
+  uTol(0.0),
+  minNbPnts(0),
+  myMinLen(0.0),
+  lastu(0.0),
+  firstu(0.0)
+{
+}
 
 //=======================================================================
 //function : AddPoint
index c0905ad9fbcf85ff76488dd556811ed7fa1e52c2..f43be1470b4d0bd9e50a36d523e7fcf0a3c20471 100644 (file)
@@ -59,7 +59,8 @@ gp_Pnt GCPnts_UniformDeflection::Value
 //=======================================================================
 
 GCPnts_UniformDeflection::GCPnts_UniformDeflection ()
-:myDone(Standard_False)
+: myDone(Standard_False),
+  myDeflection(0.0)
 {
 } 
 
index ee4a20a996969d2775c94f352065b0934bc9dde4..5d042cfd8803cdaace2594f18f32aa67d91c386e 100644 (file)
@@ -24,6 +24,7 @@
 
 GProp_PEquation::GProp_PEquation(const TColgp_Array1OfPnt& Pnts, 
                                       const Standard_Real Tol) 
+: type(GProp_None)
 {
   GProp_PGProps Pmat(Pnts);
   g = Pmat.CentreOfMass(); 
index 2db608d9bf515743db2b62143610840dbe71e903..96e4b34cce7036db7f6447699b31cd1e1039487a 100644 (file)
@@ -37,7 +37,8 @@ IMPLEMENT_STANDARD_RTTIEXT(Geom_OsculatingSurface,Standard_Transient)
 //purpose  : 
 //=======================================================================
 Geom_OsculatingSurface::Geom_OsculatingSurface()
-  : myAlong(1,4)
+: myTol(0.0),
+  myAlong(1,4)    
 {
   myAlong.Init(Standard_False);
 }
index 8497ba4ab3c3e8a4d87358c439e5ebb15ee62a4e..dcf2d9c0ddc02f2e7380d78d0882b3a9e023dbdf 100644 (file)
@@ -28,6 +28,7 @@
 //purpose  : 
 //=======================================================================
 Geom2dAPI_ProjectPointOnCurve::Geom2dAPI_ProjectPointOnCurve()
+: myIndex(-1)
 {
   myIsDone = Standard_False;
 }
index 8a3cbf637b60b04e7f84932f4320bae3a9db9e4f..fe9e471da1d24310b1022222c9f050b57ef8a46b 100644 (file)
@@ -41,6 +41,7 @@ Geom2dGcc_Circ2d2TanOn::
                           const Standard_Real                Param1     ,
                           const Standard_Real                Param2     ,
                           const Standard_Real                ParamOn    ):
+  WellDone(Standard_False),
   cirsol(1,8)   ,
   qualifier1(1,8),
   qualifier2(1,8),
@@ -53,7 +54,7 @@ Geom2dGcc_Circ2d2TanOn::
   par2sol(1,8)  ,
   pararg1(1,8)  ,
   pararg2(1,8)  ,
-  parcen3(1,8)  
+  parcen3(1,8)
 {
   Geom2dAdaptor_Curve C1 = Qualified1.Qualified();
   Geom2dAdaptor_Curve C2 = Qualified2.Qualified();
@@ -374,6 +375,7 @@ Geom2dGcc_Circ2d2TanOn::
                           const Standard_Real                Tolerance  ,
                           const Standard_Real                Param1     ,
                           const Standard_Real                ParamOn    ):
+  WellDone(Standard_False),
   cirsol(1,8)   ,
   qualifier1(1,8),
   qualifier2(1,8),
@@ -386,7 +388,7 @@ Geom2dGcc_Circ2d2TanOn::
   par2sol(1,8)  ,
   pararg1(1,8)  ,
   pararg2(1,8)  ,
-  parcen3(1,8)  
+  parcen3(1,8) 
 {
   Geom2dAdaptor_Curve C1 = Qualified1.Qualified();
   GeomAbs_CurveType Type1 = C1.GetType();
@@ -564,6 +566,7 @@ Geom2dGcc_Circ2d2TanOn::
                           const Handle(Geom2d_Point)&        Point2     , 
                           const Geom2dAdaptor_Curve&         OnCurve    ,
                           const Standard_Real                Tolerance  ):
+  WellDone(Standard_False),
   cirsol(1,8)   ,
   qualifier1(1,8),
   qualifier2(1,8),
@@ -576,8 +579,7 @@ Geom2dGcc_Circ2d2TanOn::
   par2sol(1,8)  ,
   pararg1(1,8)  ,
   pararg2(1,8)  ,
-  parcen3(1,8)  
-
+  parcen3(1,8)
 {
   GeomAbs_CurveType Type3 = OnCurve.GetType();
   Handle(Geom2d_Curve) Con = OnCurve.Curve();
index 53e94cedbbef4c5f4a328018c1167c2c65868e17..3834572c8ba86b113783632855aaa73166fd5cc1 100644 (file)
@@ -61,7 +61,8 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedLin&  Qualified1 ,
 
                               WellDone = Standard_False;
                               Standard_Real Tol = Abs(Tolang);
-                              WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() ||
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -163,6 +164,8 @@ Geom2dGcc_Circ2d2TanOnIter (const Geom2dGcc_QCurve& Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -272,6 +275,8 @@ Geom2dGcc_Circ2d2TanOnIter (const Geom2dGcc_QCurve& Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified())) {
                                   throw GccEnt_BadQualifier();
@@ -357,6 +362,8 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedCirc& Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -465,6 +472,8 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedCirc& Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -571,6 +580,8 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedLin&  Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() ||
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -675,6 +686,8 @@ Geom2dGcc_Circ2d2TanOnIter (const Geom2dGcc_QCurve& Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -785,6 +798,8 @@ Geom2dGcc_Circ2d2TanOnIter (const Geom2dGcc_QCurve&  Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified())) {
                                   throw GccEnt_BadQualifier();
@@ -871,7 +886,8 @@ Geom2dGcc_Circ2d2TanOnIter (const Geom2dGcc_QCurve& Qualified1 ,
 
                               WellDone = Standard_False;
                               Standard_Real Tol = Abs(Tolerance);
-                              WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -977,6 +993,8 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedCirc& Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -1079,6 +1097,8 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedLin&  Qualified1 ,
                               parcen3 = 0.;
 
                               WellDone = Standard_False;
+                              qualifier1 = GccEnt_noqualifier;
+                              qualifier2 = GccEnt_noqualifier;
                               if (!(Qualified1.IsEnclosed() ||
                                 Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                                 !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -1179,6 +1199,8 @@ Geom2dGcc_Circ2d2TanOnIter (const Geom2dGcc_QCurve&    Qualified1 ,
   parcen3 = 0.;
 
   WellDone = Standard_False;
+  qualifier1 = GccEnt_noqualifier;
+  qualifier2 = GccEnt_noqualifier;
   if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
     Qualified1.IsOutside() || Qualified1.IsUnqualified())) {
       throw GccEnt_BadQualifier();
index a709ebd0a1241454878e3e0881a81352a6be64b2..38aca83e11df013a5885cf10275d66c5df4f5101 100644 (file)
@@ -63,6 +63,9 @@ Geom2dGcc_Circ2d3TanIter (const Geom2dGcc_QCurve& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -187,6 +190,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedCirc& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -316,6 +322,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedCirc& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -448,6 +457,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedLin& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() ||
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -580,6 +592,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedLin&  Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || 
@@ -705,6 +720,9 @@ Geom2dGcc_Circ2d3TanIter (const Geom2dGcc_QCurve& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -820,6 +838,9 @@ Geom2dGcc_Circ2d3TanIter (const Geom2dGcc_QCurve& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified())) {
                                 throw GccEnt_BadQualifier();
@@ -929,6 +950,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedLin&  Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() ||
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -1048,6 +1072,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedCirc& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() ||
@@ -1177,6 +1204,9 @@ Geom2dGcc_Circ2d3TanIter (const GccEnt_QualifiedCirc& Qualified1 ,
 
                             Standard_Real Tol = Abs(Tolerance);
                             WellDone = Standard_False;
+                            qualifier1 = GccEnt_noqualifier;
+                            qualifier2 = GccEnt_noqualifier;
+                            qualifier3 = GccEnt_noqualifier;
                             if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                               Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                               !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
index 144ce67d2c52a308ec6977162de98ecbd38a1e22..082fcf3fa81c74866e7af2f1e92eeb958bce6d4e 100644 (file)
@@ -46,10 +46,13 @@ Geom2dGcc_Lin2d2TanIter (const GccEnt_QualifiedCirc& Qualified1 ,
 
                            par1sol = 0.;
                            pararg1 = 0.;
-
+                           par2sol = 0.0;
+                           pararg2 = 0.0;
                            //Standard_Real Tol = Abs(Tolang);
 
                            WellDone = Standard_False;
+                           qualifier1 = GccEnt_noqualifier;
+                           qualifier2 = GccEnt_noqualifier;
                            if (Qualified1.IsEnclosed()) { throw GccEnt_BadQualifier(); }
                            gp_Circ2d C1 = Qualified1.Qualified();
                            Geom2dAdaptor_Curve Cu2 = Qualified2.Qualified();
@@ -122,7 +125,11 @@ Geom2dGcc_Lin2d2TanIter (const Geom2dGcc_QCurve& Qualified1 ,
                          const Standard_Real      Tolang     ) {
                            par1sol = 0.;
                            pararg1 = 0.;
+                           par2sol = 0.0;
+                           pararg2 = 0.0;
                            WellDone = Standard_False;
+                           qualifier1 = GccEnt_noqualifier;
+                           qualifier2 = GccEnt_noqualifier;
                            if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                              Qualified1.IsOutside() || Qualified1.IsUnqualified()) ||
                              !(Qualified2.IsEnclosed() || Qualified2.IsEnclosing() || 
@@ -196,7 +203,11 @@ Geom2dGcc_Lin2d2TanIter (const Geom2dGcc_QCurve& Qualified1 ,
 
                            par1sol = 0.;
                            pararg1 = 0.;
+                           par2sol = 0.0;
+                           pararg2 = 0.0;
                            WellDone = Standard_False;
+                           qualifier1 = GccEnt_noqualifier;
+                           qualifier2 = GccEnt_noqualifier;
                            if (!(Qualified1.IsEnclosed() || Qualified1.IsEnclosing() || 
                              Qualified1.IsOutside() || Qualified1.IsUnqualified())) {
                                throw GccEnt_BadQualifier();
index e75bfa9cbd67d78b9d602d75d295c5d02386eb68..aab019cf02c400d7a51ed99e9134a9d2d324ef61 100644 (file)
@@ -37,6 +37,7 @@ Geom2dGcc_Lin2dTanObl::
                          const gp_Lin2d&                 TheLine    ,
                          const Standard_Real             TolAng     ,
                          const Standard_Real             Angle      ):
+  Paral2(Standard_False),
   linsol(1,2)    ,
   qualifier1(1,2),
   pnttg1sol(1,2) ,
@@ -44,7 +45,7 @@ Geom2dGcc_Lin2dTanObl::
   par1sol(1,2)   ,
   par2sol(1,2)   ,
   pararg1(1,2)   ,
-  pararg2(1,2)   
+  pararg2(1,2)
 {
   Geom2dAdaptor_Curve C1 = Qualified1.Qualified();
   Handle(Geom2d_Curve) CC1 = C1.Curve();
@@ -102,6 +103,7 @@ Geom2dGcc_Lin2dTanObl::
                          const Standard_Real             TolAng     ,
                          const Standard_Real             Param1     ,
                          const Standard_Real             Angle      ):
+  Paral2(Standard_False),
   linsol(1,2)    ,
   qualifier1(1,2),
   pnttg1sol(1,2) ,
@@ -109,7 +111,7 @@ Geom2dGcc_Lin2dTanObl::
   par1sol(1,2)   ,
   par2sol(1,2)   ,
   pararg1(1,2)   ,
-  pararg2(1,2)   
+  pararg2(1,2)
 {
   Geom2dAdaptor_Curve C1 = Qualified1.Qualified();
   Handle(Geom2d_Curve) CC1 = C1.Curve();
index c0aff199d76ace147d867b3a8e0ec7b64ddf13ed..8799b6a07f5afebbccaac1a1fee2c35e7edc594c 100644 (file)
@@ -41,6 +41,8 @@ Geom2dGcc_Lin2dTanOblIter (const Geom2dGcc_QCurve&  Qualified1 ,
                            const Standard_Real      Param1     ,
                            const Standard_Real      TolAng     ,
                            const Standard_Real      Angle      )
+: par2sol(0.0),
+  pararg2(0.0)
 {
 
   par1sol = 0.;
index 5db9310177d641a6d8d13df643711332f835ecd1..37fc2d063411f51c3b1a056cf078f1432d8d2bfe 100644 (file)
@@ -35,6 +35,10 @@ static const Standard_Real Probing_End = 0.8;
 static const Standard_Real Probing_Step = 0.2111;
 
 Geom2dHatch_Elements::Geom2dHatch_Elements(const Geom2dHatch_Elements& )
+: NumWire(0),
+  NumEdge(0),
+  myCurEdge(0),
+  myCurEdgePar(0.0)
 {
 #ifdef OCCT_DEBUG
   std::cout<<" Magic Constructor in Geom2dHatch_Elements:: "<<std::endl;
index 8484c8592b2b70e50900290bf6461f0d768eb8f5..39b5d496ae9441d38036a299245069dbed482346 100644 (file)
 // Purpose  : Constructor.
 //=======================================================================
 
-Geom2dHatch_Hatching::Geom2dHatch_Hatching () {
+Geom2dHatch_Hatching::Geom2dHatch_Hatching ()
+: myTrimDone(Standard_False),
+  myTrimFailed(Standard_False),
+  myIsDone(Standard_False),
+  myStatus(HatchGen_NoProblem)
+{
 }
 
 //=======================================================================
index 4f0ef9bf2e93befa0e176743ff6a59a2cd0a19d4..ffbebafdb7a3601bb9a6a6c36fc95cad877f0483 100644 (file)
@@ -32,6 +32,7 @@
 //purpose  : 
 //=======================================================================
 Geom2dLProp_CurAndInf2d::Geom2dLProp_CurAndInf2d()
+: isDone(Standard_False)
 {
 }
 
index 9cc12dc1cb8a93e820c33c5e097d5a33af20615b..bdf591d9ff9b7782960c3af47af597afe7d20880 100644 (file)
@@ -30,6 +30,7 @@
 //purpose  : 
 //=======================================================================
 Geom2dLProp_NumericCurInf2d::Geom2dLProp_NumericCurInf2d()
+: isDone(Standard_False)
 {
 }
 //=======================================================================
index f09b294d4721f16dfe9833e6a791475a40571c95..f474c36f1c0ddceda22942b970ce25a354451456 100644 (file)
 //purpose  : 
 //=======================================================================
 GeomAPI_ExtremaCurveCurve::GeomAPI_ExtremaCurveCurve()
+: myIsDone(Standard_False),
+  myIndex(0),
+  myTotalExt(Standard_False),
+  myIsInfinite(Standard_False),
+  myTotalDist(0.0)
 {
-  myIsDone = Standard_False;
-  myTotalExt = Standard_False;
+  memset (myTotalPars, 0, sizeof (myTotalPars));
 }
 
 
index 742c8e3547f0fca123f647f19d8d9f1313e2d588..657815bb697183701753ba7e0b1385f9824d34ed 100644 (file)
@@ -33,8 +33,9 @@
 //purpose  : 
 //=======================================================================
 GeomAPI_ExtremaCurveSurface::GeomAPI_ExtremaCurveSurface()
+: myIsDone(Standard_False),
+  myIndex(0)
 {
-  myIsDone = Standard_False;
 }
 
 
index bca13f150aec26532a630a33c834ee3fa27bd9a1..05cf69b7ee982bc220a0332a7169ac846dbc6774 100644 (file)
@@ -30,8 +30,9 @@
 //purpose  : 
 //=======================================================================
 GeomAPI_ExtremaSurfaceSurface::GeomAPI_ExtremaSurfaceSurface()
+: myIsDone(Standard_False),
+  myIndex(0)
 {
-  myIsDone = Standard_False;
 }
 
 
index 1b4252e0786e44dc497a570752717040ca7934f0..e33be83b3368b1f8f092eb89d22b0afd11f5da90 100644 (file)
@@ -28,8 +28,9 @@
 //purpose  : 
 //=======================================================================
 GeomAPI_ProjectPointOnCurve::GeomAPI_ProjectPointOnCurve()
+: myIsDone(Standard_False),
+  myIndex(0)
 {
-  myIsDone = Standard_False;
 }
 //=======================================================================
 //function : GeomAPI_ProjectPointOnCurve
index da43cb70e6169afcb91e579fe18e091271fc7f6e..7c1c1e343e29ac92273054ee0396e45150f214d9 100644 (file)
 //purpose  : 
 //=======================================================================
 GeomAPI_ProjectPointOnSurf::GeomAPI_ProjectPointOnSurf() 
-: myIsDone (Standard_False) { }
+: myIsDone (Standard_False),
+  myIndex(0) 
+{
+}
 
 
 //=======================================================================
index 3a8f5a9fbd4ec34d9a38e5b0fd4cc8c9a1ec0bc8..d3335f3f4cf73f453dcb21b2709c2430339e9c4e 100644 (file)
@@ -310,10 +310,17 @@ void GeomFill_ConstrainedFilling_Eval::Evaluate (Standard_Integer *,/*Dimension*
 
 GeomFill_ConstrainedFilling::GeomFill_ConstrainedFilling
 (const Standard_Integer MaxDeg,
- const Standard_Integer MaxSeg) :
- degmax(MaxDeg),segmax(MaxSeg),appdone(Standard_False)
+ const Standard_Integer MaxSeg)
+: degmax(MaxDeg),
+  segmax(MaxSeg),
+  appdone(Standard_False),
+  nbd3(0)
 {
   dom[0] = dom[1] = dom[2] = dom[3] = 1.;
+  memset (ctr, 0, sizeof (ctr));
+  memset (degree, 0, sizeof (degree));
+  memset (ibound, 0, sizeof (ibound));
+  memset (mig, 0, sizeof (mig));
 }
 
 
index 275e015ecd1b2b1bbb69248315000ddbb5acf742..85deb02d3455d36fada3673cf2b51ca4f6f4557e 100644 (file)
@@ -23,7 +23,9 @@
 //=======================================================================
 GeomFill_CornerState::GeomFill_CornerState() :
  gap(RealLast()),
+ tgtang(0.0),
  isconstrained(0),
+ norang(0.0),
  scal(1.),
  coonscnd(1)
 {
index 77a9be8a8c3a129a6e127fa188956ff934cb81fb..3cc847a62e43ffc908cdff8164f3aeabb4ed6ad1 100644 (file)
@@ -24,6 +24,7 @@
 //purpose  : 
 //=======================================================================
 GeomFill_Filling::GeomFill_Filling()
+: IsRational(Standard_False)
 {
 }
 
index 33755e4a8443698150478d4a7b3daa7231de91e4..5ca4c9eec04b2b1a58ef913bec03574bd79056c6 100644 (file)
@@ -95,6 +95,7 @@ static Standard_Real CosAngle(const gp_Vec& theV1, const gp_Vec& theV2)
 //=======================================================================
 
 GeomFill_Frenet::GeomFill_Frenet()
+: isSngl(Standard_False)
 {
 }
 
index 90d693e2425e41ad665b2469f6f19ce9993ce504..e9e73de7dc247ae1ddbae394d7e991d274519486 100644 (file)
@@ -52,7 +52,12 @@ GeomFill_FunctionGuide::GeomFill_FunctionGuide
      (const Handle(GeomFill_SectionLaw)& S, 
       const Handle(Adaptor3d_HCurve)& C,
       const Standard_Real Param)
-: TheGuide(C), TheLaw(S), TheUonS(Param)
+: TheGuide(C),
+  TheLaw(S),
+  isconst(Standard_False),
+  First(0.0),
+  Last(0.0),
+  TheUonS(Param)  
 {
   Standard_Real Tol = Precision::Confusion();
   if (TheLaw->IsConstant(Tol)) {
index 98e1a2306c4e6257a92799e9ca50184f75714933..fabc9b40380093ab96ebf2e0948aedfb87604dc0 100644 (file)
@@ -182,9 +182,10 @@ static void DistMini(const Extrema_ExtPC& Ext,
 //===============================================================
 GeomFill_SectionPlacement::
 GeomFill_SectionPlacement(const Handle(GeomFill_LocationLaw)& L,
-                         const Handle(Geom_Geometry)& Section) :
-                         myLaw(L), /* myAdpSection(Section),  mySection(Section), */
-                         Dist(RealLast()), AngleMax(0.)
+              const Handle(Geom_Geometry)& Section) :
+              myLaw(L), /* myAdpSection(Section),  mySection(Section), */
+              SecParam(0.0), PathParam(0.0),
+              Dist(RealLast()), AngleMax(0.)
 {
 
   done   = Standard_False;
index 2feab3d88a4b68c8097c7287e9be767544a4fc20..8ef5ccd291887d72fa449f6fda5bcd5e66bd083e 100644 (file)
@@ -51,8 +51,12 @@ static Standard_Integer NbSECTIONS = 0;
 //=======================================================================
 
 GeomFill_SweepSectionGenerator::GeomFill_SweepSectionGenerator()
+: myRadius(0.0),
+  myIsDone(Standard_False),
+  myNbSections(0),
+  myType(-1),
+  myPolynomial(Standard_False)
 {
-  myIsDone = Standard_False;
 }
 
 
index 3b6b677262893c1ed66c11c1ada4b9ef64bd764a..6231ecaa8ba6389abbca6594abf2d2bfd394419f 100644 (file)
@@ -39,7 +39,7 @@ GeomLib_Interpolate::GeomLib_Interpolate
  const Standard_Integer      NumPoints,
  const TColgp_Array1OfPnt&   PointsArray,
  const TColStd_Array1OfReal& ParametersArray) 
-                                        
+: myIsDone(Standard_False)
 {
   Standard_Integer ii,
   num_knots,
index f583ed5c0e217a93b37023e454220be16f6eba58..74540004c3ff9b9441e2b60418c59de5a0879e40 100644 (file)
@@ -20,6 +20,8 @@
 #include <gp_Vec.hxx>
 
 GeomPlate_Aij::GeomPlate_Aij()
+: Ind1(0),
+  Ind2(0)
 {
 }
 
index bdcb209e87b13b25441faaa37be4cc04f0c24f99..4b8dbf1cd32dddc31b0d14596461608c83bdc9ab 100644 (file)
@@ -46,8 +46,19 @@ IMPLEMENT_STANDARD_RTTIEXT(GeomPlate_CurveConstraint,Standard_Transient)
 //---------------------------------------------------------
 //         Constructeur vide
 //---------------------------------------------------------
-GeomPlate_CurveConstraint :: GeomPlate_CurveConstraint () :
-myLProp(2,1.e-4)
+GeomPlate_CurveConstraint :: GeomPlate_CurveConstraint ()
+: myNbPoints(0),
+  myOrder(0),
+  myTang(0),
+  myConstG0(Standard_False),
+  myConstG1(Standard_False),
+  myConstG2(Standard_False),
+  myLProp(2, 1.e-4),
+  myTolDist(0.0),
+  myTolAng(0.0),
+  myTolCurv(0.0),
+  myTolU(0.0),
+  myTolV(0.0)
 {
 }
 
index 27b5df2268c0ae13ce66babd1a96998578e252c9..99cfc803505ed5489196e1e157cd9358f4009e7b 100644 (file)
@@ -43,7 +43,11 @@ GeomPlate_PointConstraint::GeomPlate_PointConstraint(const gp_Pnt& Pt,
 myOrder(Order),
 myLProp(2,TolDist),
 myPoint(Pt),
+myU(0.0),
+myV(0.0),
 myTolDist(TolDist),
+myTolAng(0.0),
+myTolCurv(0.0),
 hasPnt2dOnSurf(Standard_False)
 { if ((myOrder>1)||(myOrder<-1))
     throw Standard_Failure("GeomPlate_PointConstraint : the constraint must 0 or -1 with a point");
index 89f8219728edbb7f061252f2c8dad5cfaddd738f..bbca7908ed01b4e29b1c0e2a3b6e118e06b8125b 100644 (file)
@@ -44,7 +44,13 @@ IMPLEMENT_STANDARD_RTTIEXT(GeomPlate_Surface,Geom_Surface)
 //function : GeomPlate_Surface
 //purpose  : 
 //=======================================================================
-GeomPlate_Surface::GeomPlate_Surface(const Handle(Geom_Surface)& Surfinit,const Plate_Plate& Surfinter) : mySurfinter(Surfinter),mySurfinit(Surfinit)
+GeomPlate_Surface::GeomPlate_Surface(const Handle(Geom_Surface)& Surfinit,const Plate_Plate& Surfinter)
+: mySurfinter(Surfinter),
+  mySurfinit(Surfinit),
+  myUmin(0.0),
+  myUmax(0.0),
+  myVmin(0.0),
+  myVmax(0.0)
 {
 }
 
index 5e51794967d4fd1aa237baa6fd93c06bdc9deb06..14ea591907bd8793e0daff9e3b0e61c738fc8066 100644 (file)
@@ -110,6 +110,7 @@ public:
     ToEnableAlphaToCoverage     (Standard_True),
     // ray tracing parameters
     IsGlobalIlluminationEnabled (Standard_False),
+    SamplesPerPixel(0),
     RaytracingDepth             (THE_DEFAULT_DEPTH),
     IsShadowEnabled             (Standard_True),
     IsReflectionEnabled         (Standard_False),
index 223c1472be5e0647ffef631d2c76f2a78830d48b..a340d9038a29c1320da4a9bed9c72a486859f3de 100644 (file)
@@ -34,6 +34,19 @@ class HLRAlgo_BiPoint
 public:
   struct IndicesT
   {
+    IndicesT()
+    : ShapeIndex(-1),
+      FaceConex1(0),
+      Face1Pt1(0),
+      Face1Pt2(0),
+      FaceConex2(0),
+      Face2Pt1(0),
+      Face2Pt2(0),
+      MinSeg(0),
+      MaxSeg(0),
+      SegFlags(0)
+    {
+    }
     Standard_Integer ShapeIndex;
     Standard_Integer FaceConex1;
     Standard_Integer Face1Pt1;
index a03cb48fa13478b6033a1cda729f61eb99ce5b39..04a5968f15c5e2157e70f06c603903e0edfee39c 100644 (file)
 //purpose  : 
 //=======================================================================
 HLRAlgo_EdgeIterator::HLRAlgo_EdgeIterator ()
-{}
+: myNbVis(0),
+  myNbHid(0),
+  EVis(NULL),
+  EHid(NULL),
+  iVis(0),
+  iHid(0),
+  myHidStart(0.0),
+  myHidEnd(0.0),
+  myHidTolStart(0.0),
+  myHidTolEnd(0.0)
+{
+}
 
 //=======================================================================
 //function : InitHidden
index 72b5de13429996d91fc75334d4231c3e361259e1..553afe19ff7ed5bf79b0f2cf0c25d6a9d3c03a9a 100644 (file)
 //purpose  : 
 //=======================================================================
 HLRAlgo_Intersection::HLRAlgo_Intersection()
-{}
+: mySegIndex(0),
+  myIndex(0),
+  myLevel(0),
+  myParam(0.0),
+  myToler(0.0)
+{
+}
 
 //=======================================================================
 //function : HLRAlgo_Intersection
index dcfd2a581433f0efd44191e9a4f69aabacbeea09..8bc04d768305e6db6d0b373c34be8a0987f51080 100644 (file)
@@ -39,6 +39,9 @@ IMPLEMENT_STANDARD_RTTIEXT(HLRAlgo_PolyAlgo,Standard_Transient)
 //=======================================================================
 
 HLRAlgo_PolyAlgo::HLRAlgo_PolyAlgo ()
+: myNbrShell(0),
+  myCurShell(0),
+  myFound(Standard_False)
 {
   myTriangle.TolParam   = 0.00000001;
   myTriangle.TolAng = 0.0001;
index f507e4949b09fd15671d319101f8b6ab63051df7..bfcc6fa5be78b110e8ab6c3024ca7d1d602050c5 100644 (file)
@@ -43,6 +43,14 @@ class HLRAlgo_PolyData : public Standard_Transient
 public:
   struct FaceIndices
   {
+    //! The default constructor.
+    FaceIndices()
+    : Index(0),
+      Min(0),
+      Max(0)
+    {
+    }
+
     Standard_Integer Index, Min, Max;
   };
 
@@ -58,6 +66,12 @@ public:
 
     //! The default constructor.
     Box()
+    : XMin(0.0),
+      YMin(0.0),
+      ZMin(0.0),
+      XMax(0.0),
+      YMax(0.0),
+      ZMax(0.0)
     {
     }
 
index e1e3e5fee84f8a049cc0e90c2bf23ef6a52dbbed..1a03ef49af30701a32e6cf9fbd025161fe2f99a3 100644 (file)
@@ -38,6 +38,7 @@ public:
 
   struct PlaneT
   {
+    PlaneT() : D(0.0) {}
     gp_XYZ Normal;
     Standard_Real D;
   };
index 89275c702d8d5649e65ff29894da1c36d7e6b658..024ab8458906cf22dfbe3b026fcc1c645c428303 100644 (file)
@@ -41,6 +41,12 @@ public:
 
   struct NodeData
   {
+    NodeData()
+    : PCu1(0.0),
+      PCu2(0.0),
+      Scal(0.0)
+    {
+    }
     gp_XYZ Point, Normal;
     gp_XY UV;
     Standard_Real PCu1, PCu2, Scal;
index 1a38e58b434cc3044050a6e6c8cb166293fd7915..148bc02dcfb2d189c2ba507d50798bf25c5bf03a 100644 (file)
 //=======================================================================
 
 inline HLRBRep_ShapeBounds::HLRBRep_ShapeBounds ()
-{}
+: myNbIso(0),
+  myVertStart(0),
+  myVertEnd(0),
+  myEdgeStart(0),
+  myEdgeEnd(0),
+  myFaceStart(0),
+  myFaceEnd(0)
+{
+}
 
 //=======================================================================
 //function : Shape
index 346de804bf5e354e4376fd406c3db63aa98e66cd..628b9e15c09f7d376c8ae5a5e6d4f72953ffbda9 100644 (file)
@@ -39,6 +39,8 @@
 //purpose  : 
 //=======================================================================
 HLRBRep_Surface::HLRBRep_Surface ()
+: myType(GeomAbs_OtherSurface),
+  myProj(NULL)
 {
 }
 
index bd489a791930d5c05b8953bcf3fd9ccb6a2c7d23..7eeda8245f30443bd0f3ba64610db8031d1657d6 100644 (file)
@@ -46,6 +46,8 @@ HLRTest_DrawablePolyEdgeTool (const Handle(HLRBRep_PolyAlgo)& Alg,
                              const Standard_Integer ViewId,
                              const Standard_Boolean Debug) :
   myAlgo(Alg),
+  myDispRg1(Standard_False),
+  myDispRgN(Standard_False),
   myDispHid(Standard_False),
   myViewId(ViewId),
   myDebug(Debug),
index 0322a4e778d2b7ef4f5ebe7a545f93e6c6869086..927f92bfc5cf5f2762772ed9fbd14d04d304f95d 100644 (file)
@@ -20,7 +20,9 @@
 //=======================================================================
 
 inline HLRTopoBRep_VData::HLRTopoBRep_VData()
-{}
+: myParameter(0.0)
+{
+}
 
 //=======================================================================
 //function : Parameter
index c3535c7095ace36039e53a7c10718902c3610107..44f59536deb2133cc9d3900981007bcdcf3eb7b3 100644 (file)
@@ -25,6 +25,7 @@
 //purpose  : 
 //=======================================================================
 Hatch_Line::Hatch_Line()
+: myForm(Hatch_ANYLINE)
 {
 }
 
index 2395f7019371fca11f6cc8d5b274927adf43b354..07edd0559e59110fd7cc2571f4dd22cd1cddfcfb 100644 (file)
 //purpose  : 
 //=======================================================================
 Hatch_Parameter::Hatch_Parameter()
+: myPar1(0.0),
+  myStart(Standard_False),
+  myIndex(0),  
+  myPar2(0.0)
 {
 }
 
index c2679a544176a59f15bd715cd9627c73bfd14f2c..bbfaa29eebe7491df25e11c8fb961a799c75e279 100644 (file)
@@ -35,6 +35,7 @@ HatchGen_PointOnElement::HatchGen_PointOnElement () :
 //=======================================================================
 
 HatchGen_PointOnElement::HatchGen_PointOnElement (const IntRes2d_IntersectionPoint& Point)
+: myType(HatchGen_UNDETERMINED)
 {
   const IntRes2d_Transition& TrsH = Point.TransitionOfFirst() ;
   const IntRes2d_Transition& TrsE = Point.TransitionOfSecond() ;
index 312efb96db94e21b48e3e7e781769d1f4bccac20..6959f546ea0b705d625c4b2658bee76d0ecc331b 100644 (file)
 //purpose  : 
 //=======================================================================
 IntAna_Curve::IntAna_Curve()
+: Z0Cte(0.0),
+  Z0Sin(0.0),
+  Z0Cos(0.0),
+  Z0SinSin(0.0),
+  Z0CosCos(0.0),
+  Z0CosSin(0.0),
+  Z1Cte(0.0),
+  Z1Sin(0.0),
+  Z1Cos(0.0),
+  Z1SinSin(0.0),
+  Z1CosCos(0.0),
+  Z1CosSin(0.0),
+  Z2Cte(0.0),
+  Z2Sin(0.0),
+  Z2Cos(0.0),
+  Z2SinSin(0.0),
+  Z2CosCos(0.0),
+  Z2CosSin(0.0),
+  TwoCurves(Standard_False),
+  TakeZPositive(Standard_False),
+  Tolerance(0.0),
+  DomainInf(0.0),
+  DomainSup(0.0),
+  RestrictedInf(Standard_False),
+  RestrictedSup(Standard_False),
+  firstbounded(Standard_False),
+  lastbounded(Standard_False),
+  typequadric(GeomAbs_OtherSurface),
+  RCyl(0.0),
+  Angle(0.0),
+  myFirstParameter(0.0),
+  myLastParameter(0.0)
 {
-  typequadric=GeomAbs_OtherSurface;
-  firstbounded=Standard_False;
-  lastbounded=Standard_False;
 }
 //=======================================================================
 //function : SetConeQuadValues
index b43151e83f39f2b2b51f9e9f39bcd12eb4229a31..586df8b38e1e361eea8f0cc435332b60c076b1c9 100644 (file)
 #include <Standard_DomainError.hxx>
 #include <StdFail_NotDone.hxx>
 
-IntAna_Int3Pln::IntAna_Int3Pln () : done(Standard_False) {}
+IntAna_Int3Pln::IntAna_Int3Pln()
+: done(Standard_False),
+  empt(Standard_True)
+{
+}
 
 
 IntAna_Int3Pln::IntAna_Int3Pln (const gp_Pln& P1, const gp_Pln& P2,
index 66ccef9b0a9fdc30d010a0dbca5a0b8099f8e613..f5f4211ad6407fa1ac088e0d824cef59e3099b45 100644 (file)
@@ -53,6 +53,10 @@ static Standard_Real PIpPI = M_PI + M_PI;
 //== 
 CREATE(void) {
   done=Standard_False;
+  parallel = Standard_False;
+  inquadric = Standard_False;
+  nbpts = 0;
+  memset (paramonc, 0, sizeof (paramonc));
 }
 //=============================================================================
 //==                                                 L i n e  -   Q u a d r i c  
index e504a6862dfa0856e0947b56c6141a87676408b4..8f824183d6167eb85d8d4ad48d71f77eebd14d06 100644 (file)
 #include <StdFail_NotDone.hxx>
 #include <TColStd_Array1OfReal.hxx>
 
-IntAna_IntLinTorus::IntAna_IntLinTorus () : done(Standard_False)
-{}
+IntAna_IntLinTorus::IntAna_IntLinTorus ()
+: done(Standard_False),
+  nbpt(0)
+{
+  memset (theFi, 0, sizeof (theFi));
+  memset (theParam, 0, sizeof (theParam));
+  memset (theTheta, 0, sizeof (theTheta));
+}
 
 IntAna_IntLinTorus::IntAna_IntLinTorus (const gp_Lin& L, const gp_Torus& T)  {
   Perform(L,T);
index 73ff100fcb3ea19347bc4d1d38a92185042a7eb3..41f61cdb1320a1b15be94d57df63cf88f31b1282 100644 (file)
@@ -183,7 +183,8 @@ TrigonometricRoots::TrigonometricRoots(const Standard_Real CC,
                                       const Standard_Real S,
                                       const Standard_Real Cte,
                                       const Standard_Real Binf,
-                                      const Standard_Real Bsup) 
+                                      const Standard_Real Bsup)
+: infinite_roots(Standard_False)
 {
   Standard_Integer i, j, SvNbRoots;
   Standard_Boolean Triee;
@@ -317,6 +318,8 @@ IntAna_IntQuadQuad::IntAna_IntQuadQuad(void) {
   myNbMaxCurves=12;
   myEpsilon=0.00000001;
   myEpsilonCoeffPolyNull=0.00000001;
+  memset (nextcurve, 0, sizeof (nextcurve));
+  memset (previouscurve, 0, sizeof (previouscurve));
 }
 //=======================================================================
 //function : IntAna_IntQuadQuad::IntAna_IntQuadQuad
index f99197724d3a35267219349daa259225f29ad6f9..b645b3361d55d43e83c0d96be08c6cc737c90ff6 100644 (file)
 #include <Standard_OutOfRange.hxx>
 #include <StdFail_NotDone.hxx>
 
-IntAna2d_AnaIntersection::IntAna2d_AnaIntersection () {
-
-  done = Standard_False;
+IntAna2d_AnaIntersection::IntAna2d_AnaIntersection ()
+: done(Standard_False),
+  para(Standard_False),
+  iden(Standard_False),
+  empt(Standard_True),
+  nbp(0)
+{
 }
 
 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L1,
index d841381f4d198acd3ab12e30408f18397f17e572..53b4696e45ba61ce6eaf646d9cf5a539eea77ec6 100644 (file)
@@ -28,7 +28,7 @@ IntAna2d_IntPoint::IntAna2d_IntPoint (const Standard_Real X, const Standard_Real
 
 IntAna2d_IntPoint::IntAna2d_IntPoint (const Standard_Real X, const Standard_Real Y, 
                                      const Standard_Real U1):
-       myu1(U1),myp(X,Y),myimplicit(Standard_True)
+       myu1(U1),myu2(RealLast()),myp(X,Y),myimplicit(Standard_True)
  {
  }
 
@@ -54,7 +54,7 @@ void IntAna2d_IntPoint::SetValue (const Standard_Real X, const Standard_Real Y,
   myimplicit = Standard_True;
   myp.SetCoord(X,Y);
   myu1 = U1;
-
+  myu2 = RealLast();
 }
 
 
index 62c09929b6037eaf249bd2923bf3345a90e87212..8216bc3f3b40657cd047e899fae7d070aa77b948 100644 (file)
@@ -42,7 +42,11 @@ MyDirectPolynomialRoots::MyDirectPolynomialRoots(const Standard_Real A4,
     return;
   }
   Standard_Integer i,j,nbp;
-  for(i=0;i<16;i++) val[i]=RealLast();
+  for (size_t anIdx = 0; anIdx < sizeof (val) / sizeof (val[0]); anIdx++)
+  {
+    val[anIdx] = RealLast();
+    sol[anIdx] = RealLast();
+  }
   
   Standard_Real tol = Epsilon(100.0);
   math_DirectPolynomialRoots MATH_A43210(A4,A3,A2,A1,A0);
@@ -193,6 +197,11 @@ MyDirectPolynomialRoots::MyDirectPolynomialRoots(const Standard_Real A2,
                                                 const Standard_Real A1,
                                                 const Standard_Real A0) { 
   //-- std::cout<<" IntAna2d : A2..A0 "<<A2<<" "<<A1<<" "<<A0<<" "<<std::endl;
+  for (size_t anIdx = 0; anIdx < sizeof (val) / sizeof (val[0]); anIdx++)
+  {
+    val[anIdx] = RealLast();
+    sol[anIdx] = RealLast();
+  }
   nbsol=0;
   if((Abs(A2)+Abs(A1)+Abs(A0))<Epsilon(10000.0))  { 
     same = Standard_True;
index d4e858661a581c230c2d59724f19b749fa3bd955..aa21a3f1befaf253b39572ca0efd49cc90605ebe 100644 (file)
 #define Parab_2p  prm2
 
 //======================================================================
-IntCurve_IConicTool::IntCurve_IConicTool(void) {
+IntCurve_IConicTool::IntCurve_IConicTool(void)
+: prm1(0.0),
+  prm2(0.0),
+  prm3(0.0),
+  type(GeomAbs_OtherCurve)
+{
 //###### PLACER LE TYPE NON DEFINI ######
 }
 
@@ -67,13 +72,21 @@ IntCurve_IConicTool::IntCurve_IConicTool(const IntCurve_IConicTool& ITool) {
 }
 //======================================================================
 //======================================================================
-IntCurve_IConicTool::IntCurve_IConicTool(const gp_Lin2d& Line) {
+IntCurve_IConicTool::IntCurve_IConicTool(const gp_Lin2d& Line)
+: prm1(0.0),
+  prm2(0.0),
+  prm3(0.0) 
+{
   Line.Coefficients(Line_a,Line_b,Line_c);
   Axis = gp_Ax22d(Line.Position(),Standard_True);
   type = GeomAbs_Line;
 }
 //======================================================================
-IntCurve_IConicTool::IntCurve_IConicTool(const gp_Elips2d& Elips) {
+IntCurve_IConicTool::IntCurve_IConicTool(const gp_Elips2d& Elips)
+: prm1(0.0),
+  prm2(0.0),
+  prm3(0.0) 
+{
   Elips_a = Elips.MajorRadius();
   Elips_b = Elips.MinorRadius();
   Elips_c = sqrt(Elips_a*Elips_a-Elips_b*Elips_b);
@@ -82,7 +95,11 @@ IntCurve_IConicTool::IntCurve_IConicTool(const gp_Elips2d& Elips) {
   type = GeomAbs_Ellipse;
 }
 //======================================================================
-IntCurve_IConicTool::IntCurve_IConicTool(const gp_Circ2d& C) {
+IntCurve_IConicTool::IntCurve_IConicTool(const gp_Circ2d& C)
+: prm1(0.0),
+  prm2(0.0),
+  prm3(0.0)
+{
   Circle_r=C.Radius();
   Axis=C.Axis();
   Circle_x0=Axis.Location().X();
@@ -91,7 +108,11 @@ IntCurve_IConicTool::IntCurve_IConicTool(const gp_Circ2d& C) {
   type = GeomAbs_Circle;
 }
 //======================================================================
-IntCurve_IConicTool::IntCurve_IConicTool(const gp_Parab2d& P) {
+IntCurve_IConicTool::IntCurve_IConicTool(const gp_Parab2d& P)
+: prm1(0.0),
+  prm2(0.0),
+  prm3(0.0)
+{
   Parab_f=P.Focal();
   Parab_2p=4.0*Parab_f;
   Axis=P.Axis();
@@ -99,7 +120,11 @@ IntCurve_IConicTool::IntCurve_IConicTool(const gp_Parab2d& P) {
   type = GeomAbs_Parabola;
 }
 //======================================================================
-IntCurve_IConicTool::IntCurve_IConicTool(const gp_Hypr2d& H) {
+IntCurve_IConicTool::IntCurve_IConicTool(const gp_Hypr2d& H)
+: prm1(0.0),
+  prm2(0.0),
+  prm3(0.0)
+{
   Hypr_a = H.MajorRadius();
   Hypr_b = H.MinorRadius();
   Axis = H.Axis();
index 34fe0bac085b63e3fc03a0aa2666b059b6368043..dba97847bd2cb5fc3132015734fdad59bc3eb25d 100644 (file)
@@ -163,7 +163,10 @@ Interval::Interval(const Standard_Real a,const Standard_Real b) {
   IsNull=Standard_False;
 }
 
-Interval::Interval(const IntRes2d_Domain& Domain) {
+Interval::Interval(const IntRes2d_Domain& Domain)
+: Binf(0.0),
+  Bsup(0.0)
+{
   IsNull=Standard_False;
   if(Domain.HasFirstPoint()) {
     HasFirstBound=Standard_True;
index b5a2d679e25632166f3f69e6b281f4a9dba2d11e..297498164e82db7f0e8344ebe7d5b6353c328cf5 100644 (file)
@@ -44,19 +44,20 @@ IntCurve_PConic::IntCurve_PConic(const gp_Hypr2d& H) :
 
 IntCurve_PConic::IntCurve_PConic(const gp_Circ2d& C) :
        axe(C.Axis()) , 
-       prm1(C.Radius())      , TheEpsX(0.00000001) , TheAccuracy(20) , 
+       prm1(C.Radius()), prm2(0.0), TheEpsX(0.00000001) , TheAccuracy(20) ,
        type(GeomAbs_Circle) {
 }
      
 IntCurve_PConic::IntCurve_PConic(const gp_Parab2d& P) :
        axe(P.Axis()) ,
-       prm1(P.Focal())       , TheEpsX(0.00000001) , TheAccuracy(20) , 
+       prm1(P.Focal()), prm2(0.0), TheEpsX(0.00000001) , TheAccuracy(20) ,
        type(GeomAbs_Parabola) { 
 }
      
 
 IntCurve_PConic::IntCurve_PConic(const gp_Lin2d& L) : 
-       axe(gp_Ax22d(L.Position())) , TheEpsX(0.00000001) , 
+       axe(gp_Ax22d(L.Position())) ,
+       prm1(0.0), prm2(0.0), TheEpsX(0.00000001) ,
        TheAccuracy(20)       , type(GeomAbs_Line) { 
 }
 
index fc267ee89377b29c63143751f35f39758f4c6d9c..9635f740f7b9a6ba67090a3111ab3a5cf0ee0ba7 100644 (file)
 #include <IntCurveSurface_IntersectionPoint.hxx>
 
 //================================================================================
-IntCurveSurface_IntersectionPoint::IntCurveSurface_IntersectionPoint() { } 
+IntCurveSurface_IntersectionPoint::IntCurveSurface_IntersectionPoint()
+: myUSurf(0.0),
+  myVSurf(0.0),
+  myUCurv(0.0)
+{
+}
 //================================================================================
 IntCurveSurface_IntersectionPoint::IntCurveSurface_IntersectionPoint(const gp_Pnt& P,
                                                                     const Standard_Real USurf,
index a36025ac3a821359e61783b7a36420cb3f89a61b..4c3062a53ca0f001d44802e0d2cd427762c13405 100644 (file)
@@ -30,6 +30,7 @@ IntImp_Int2S::IntImp_Int2S(const ThePSurface& surf1,
                            const Standard_Real TolTangency ) :
 done(Standard_True),
 empty(Standard_True),
+tangent(Standard_False),
 myZerParFunc(surf1,surf2),
 tol(TolTangency*TolTangency)
 {
index bc56346c152b18c3c3e52939fd00c5dc478af474..bbf66ae85926f9bd5eacedbb76a5db4f197685ca 100644 (file)
@@ -33,6 +33,9 @@ IntImp_IntCS::IntImp_IntCS(const Standard_Real U,
   done(Standard_True),
   empty(Standard_True),
   myFunction(F),
+  w(0.0),
+  u(0.0),
+  v(0.0),
   tol(TolTangency*TolTangency)
   {
     if(tol<1e-13) { tol=1e-13; } 
index aba25b341082deac4b6bfee08f86be276c260368..e2c47d78aab6998c0e985fe1df7cdb47c9e688cd 100644 (file)
 
 
 IntImp_ZerImpFunc::IntImp_ZerImpFunc() :
+       surf(NULL),
+       func(NULL),
+       u(0.0),
+       v(0.0),
+       tol(0.0),
+       valf(0.0),
        computed(Standard_False),
+       tangent(Standard_False),
+       tgdu(0.0),
+       tgdv(0.0),
        derived(Standard_False)
 {  
 }
 
 IntImp_ZerImpFunc::IntImp_ZerImpFunc(const ThePSurface& PS ,
                                     const TheISurface& IS) :
+       u(0.0),
+       v(0.0),
+       tol(0.0),
+       valf(0.0),
        computed(Standard_False),
+       tangent(Standard_False),
+       tgdu(0.0),
+       tgdv(0.0),
        derived(Standard_False)
 { 
   surf = (Standard_Address)(&PS);
@@ -41,7 +57,15 @@ IntImp_ZerImpFunc::IntImp_ZerImpFunc(const ThePSurface& PS ,
 }
 
 IntImp_ZerImpFunc::IntImp_ZerImpFunc(const TheISurface& IS) :
+       surf(NULL),
+       u(0.0),
+       v(0.0),
+       tol(0.0),
+       valf(0.0),
        computed(Standard_False),
+       tangent(Standard_False),
+       tgdu(0.0),
+       tgdv(0.0),
        derived(Standard_False)
 {  
   func = (Standard_Address)(&IS);
index 550229559d242196308687444998fa401e907be2..4dddfa94fd9f3852fd3786cf2ea25efe0f114411 100644 (file)
 
 
 IntImp_ZerParFunc::IntImp_ZerParFunc(const ThePSurface& S1 ,
-                                    const ThePSurface& S2) {
+                                    const ThePSurface& S2)
+: compute(Standard_False),
+  tangent(Standard_False),
+  paramConst(0.0)
+{
     surf1 = (Standard_Address)(&S1);
     surf2 = (Standard_Address)(&S2);
 
@@ -46,7 +50,7 @@ IntImp_ZerParFunc::IntImp_ZerParFunc(const ThePSurface& S1 ,
 
     ures2 = ThePSurfaceTool::UResolution(SURF2,Precision::Confusion());
     vres2 = ThePSurfaceTool::VResolution(SURF2,Precision::Confusion());
-
+    memset (f, 0, sizeof (f));
     compute = Standard_False;  
     tangent = Standard_False;
 }
index e41f0d7488dbb06c8cd69d56f25ab87876d715b9..96e632ff5f39290846e1f0fbae40209154a959a5 100644 (file)
@@ -33,8 +33,10 @@ IntPatch_ALine::IntPatch_ALine (const IntAna_Curve& C,
                                const IntSurf_TypeTrans Trans1,
                                const IntSurf_TypeTrans Trans2) :
   IntPatch_Line(Tang,Trans1,Trans2),
-  fipt(Standard_False),lapt(Standard_False)
-
+  fipt(Standard_False),
+  lapt(Standard_False),
+  indf(0),
+  indl(0)
 {
   typ = IntPatch_Analytic;
   curv = C;
@@ -46,8 +48,10 @@ IntPatch_ALine::IntPatch_ALine (const IntAna_Curve& C,
                                const IntSurf_Situation Situ1,
                                const IntSurf_Situation Situ2) :
   IntPatch_Line(Tang,Situ1,Situ2),
-  fipt(Standard_False),lapt(Standard_False)
-
+  fipt(Standard_False),
+  lapt(Standard_False),
+  indf(0),
+  indl(0)
 {
   typ = IntPatch_Analytic;
   curv = C;
@@ -57,8 +61,10 @@ IntPatch_ALine::IntPatch_ALine (const IntAna_Curve& C,
 IntPatch_ALine::IntPatch_ALine (const IntAna_Curve& C,
                                const Standard_Boolean Tang) :
   IntPatch_Line(Tang),
-  fipt(Standard_False),lapt(Standard_False)
-
+  fipt(Standard_False),
+  lapt(Standard_False),
+  indf(0),
+  indl(0)
 {
   typ = IntPatch_Analytic;
   curv = C;
index 71278d1d763d23b2cfffa0c2a24a1dec70a1072f..f8924fe57505cd7c707388f755d2ef914eed6f6d 100644 (file)
@@ -26,7 +26,10 @@ static
 //purpose  : 
 //=======================================================================
 IntPatch_ImpImpIntersection::IntPatch_ImpImpIntersection ():
-myDone(IntStatus_Fail)
+myDone(IntStatus_Fail),
+empt(Standard_True),
+tgte(Standard_False),
+oppo(Standard_False)
 {
 }
 //=======================================================================
index f4ffc04ce7cdf4857f4cb907a2811a731c572828..7295035d406e527ae9e5d2837aa87188d4ed55c6 100644 (file)
@@ -42,8 +42,15 @@ static const int Pourcent3[9] = {0, 1, 2, 0, 1, 2, 0, 1, 2};
 //=======================================================================
 
 IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron  ()
-: Intf_Interference(Standard_False)
-{}
+: Intf_Interference(Standard_False),
+  Incidence(0)
+{
+  memset (OI, 0, sizeof (OI));
+  memset (TI, 0, sizeof (TI));
+  memset (dpOeT, 0, sizeof (dpOeT));
+  memset (dpOpT, 0, sizeof (dpOpT));
+  memset (deOpT, 0, sizeof (deOpT));
+}
 
 //=======================================================================
 //function : IntPatch_InterferencePolyhedron
@@ -52,8 +59,14 @@ IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron  ()
 
 IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron 
   (const IntPatch_Polyhedron& FirstPol, const IntPatch_Polyhedron& SeconPol)
-: Intf_Interference(Standard_False)
+: Intf_Interference(Standard_False),
+  Incidence(0)
 {
+  memset (OI, 0, sizeof (OI));
+  memset (TI, 0, sizeof (TI));
+  memset (dpOeT, 0, sizeof (dpOeT));
+  memset (dpOpT, 0, sizeof (dpOpT));
+  memset (deOpT, 0, sizeof (deOpT));
   if (!IntPatch_PolyhedronTool::Bounding(FirstPol).IsOut
       (IntPatch_PolyhedronTool::Bounding(SeconPol))) {
     Tolerance=IntPatch_PolyhedronTool::DeflectionOverEstimation(FirstPol)+
@@ -71,8 +84,14 @@ IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron
 
 IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron 
   (const IntPatch_Polyhedron& Objet)
-: Intf_Interference(Standard_True)
+: Intf_Interference(Standard_True),
+  Incidence(0)
 {
+  memset (OI, 0, sizeof (OI));
+  memset (TI, 0, sizeof (TI));
+  memset (dpOeT, 0, sizeof (dpOeT));
+  memset (dpOpT, 0, sizeof (dpOpT));
+  memset (deOpT, 0, sizeof (deOpT));
   Tolerance=IntPatch_PolyhedronTool::DeflectionOverEstimation(Objet)*2;
   if (Tolerance==0.)
     Tolerance=Epsilon(1000.);
index 97b931b08dffd3ac51e09de40912b18a853581c4..89b8e1b361b282f484a8fa1046731ffe37d3bf82 100644 (file)
@@ -45,11 +45,16 @@ const IntPatch_SequenceOfLine& IntPatch_Intersection::SequenceOfLine() const { r
 //======================================================================
 IntPatch_Intersection::IntPatch_Intersection ()
  : done(Standard_False),
-   //empt, tgte, oppo,
+   empt(Standard_True),
+   tgte(Standard_False),
+   oppo(Standard_False),
    myTolArc(0.0), myTolTang(0.0),
    myUVMaxStep(0.0), myFleche(0.0),
-   myIsStartPnt(Standard_False)
-   //myU1Start, myV1Start, myU2Start, myV2Start
+   myIsStartPnt(Standard_False),
+   myU1Start(0.0),
+   myV1Start(0.0),
+   myU2Start(0.0),
+   myV2Start(0.0)
 {
 }
 
@@ -63,11 +68,16 @@ IntPatch_Intersection::IntPatch_Intersection(const Handle(Adaptor3d_HSurface)&
                                              const Standard_Real TolArc,
                                              const Standard_Real TolTang)
  : done(Standard_False),
-   //empt, tgte, oppo,
+   empt(Standard_True),
+   tgte(Standard_False),
+   oppo(Standard_False),
    myTolArc(TolArc), myTolTang(TolTang),
    myUVMaxStep(0.0), myFleche(0.0),
-   myIsStartPnt(Standard_False)
-   //myU1Start, myV1Start, myU2Start, myV2Start
+   myIsStartPnt(Standard_False),
+   myU1Start(0.0),
+   myV1Start(0.0),
+   myU2Start(0.0),
+   myV2Start(0.0)
 {
   if(myTolArc<1e-8) myTolArc=1e-8;
   if(myTolTang<1e-8) myTolTang=1e-8;
@@ -84,11 +94,16 @@ IntPatch_Intersection::IntPatch_Intersection(const Handle(Adaptor3d_HSurface)&
                                              const Standard_Real TolArc,
                                              const Standard_Real TolTang)
  : done(Standard_False),
-   //empt, tgte, oppo,
+   empt(Standard_True),
+   tgte(Standard_False),
+   oppo(Standard_False),
    myTolArc(TolArc), myTolTang(TolTang),
    myUVMaxStep(0.0), myFleche(0.0),
-   myIsStartPnt(Standard_False)
-   //myU1Start, myV1Start, myU2Start, myV2Start
+   myIsStartPnt(Standard_False),
+   myU1Start(0.0),
+   myV1Start(0.0),
+   myU2Start(0.0),
+   myV2Start(0.0)
 {
   Perform(S1,D1,TolArc,TolTang);
 }
index 9a96ccfe062f0d185ad14cc959db1365e0e85b36..c73fb8bbfdad9640b750c859a92213768446a44e 100644 (file)
 //=======================================================================
 
 IntPatch_PolyLine::IntPatch_PolyLine ()
-     : IntPatch_Polygo(INITDEFLE)
-{}
+     : IntPatch_Polygo(INITDEFLE),
+       onfirst(Standard_False)
+{
+}
 
 //=======================================================================
 //function : IntPatch_PolyLine
@@ -40,8 +42,10 @@ IntPatch_PolyLine::IntPatch_PolyLine ()
 //=======================================================================
 
 IntPatch_PolyLine::IntPatch_PolyLine (const Standard_Real InitDefle)
-     : IntPatch_Polygo(InitDefle)
-{}
+     : IntPatch_Polygo(InitDefle),
+       onfirst(Standard_False)       
+{
+}
 
 //=======================================================================
 //function : SetWLine
index 684866cdce3ecda2e1cfc80824e63a406925492e..111dd36c248975dc9472a5d900d8a324ce00e29e 100644 (file)
@@ -302,7 +302,9 @@ static void DublicateOfLinesProcessing( const IntWalk_PWalking& thePW,
 // function : 
 // purpose  : 
 //==================================================================================
-IntPatch_PrmPrmIntersection::IntPatch_PrmPrmIntersection(): done(Standard_False)
+IntPatch_PrmPrmIntersection::IntPatch_PrmPrmIntersection()
+: done(Standard_False),
+  empt(Standard_True)
 {
 }
 
index 2214b76f546cc7a925514cb64c3c19f3a73bc930..cb348911c26f88a5cfd639c872e1c22393bfa8a9 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;
index 45ecdc196685807c20442354c2b9c944b214b8a6..41d296cd5c3ed6a03c705ed234c13f49cfce5a72 100644 (file)
 #include <IntRes2d_IntersectionSegment.hxx>
 #include <Standard_DomainError.hxx>
 
-IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment ():
-  
-  ptfirst(),ptlast() {  }
+IntRes2d_IntersectionSegment::IntRes2d_IntersectionSegment ()
+: oppos(Standard_False),
+  first(Standard_False),
+  last(Standard_False)
+{
+}
 
 
 
index 16a895006a77e1860c42abdad9706cf1745a6a13..36d2e087f401ddeb7ec4f7a83890e49634b6ce42 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-IntStart_PathPoint::IntStart_PathPoint () {
+IntStart_PathPoint::IntStart_PathPoint ()
+: tol(0.0),
+  isnew(Standard_True),
+  param(0.0)
+{
 }
 
 IntStart_PathPoint::IntStart_PathPoint (const gp_Pnt& P,
index 538baef5077cd0ac0be12757ca32bfd35d7c9852..8ccaf73b1b80c5f4a80c4e0310a50906bc349ca7 100644 (file)
@@ -1076,7 +1076,8 @@ Standard_Integer TreatLC (const TheArc& A,
 //purpose  : 
 //=======================================================================
 IntStart_SearchOnBoundaries::IntStart_SearchOnBoundaries ()
-:  done(Standard_False) 
+:  done(Standard_False),
+   all(Standard_False)  
 {
 }  
 
index 7dc385de390f05dea140421874abb39aac0ccc78..98029c3e7cad6199b247c3c55f6d016d0a2534ed 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-IntStart_Segment::IntStart_Segment () {}
+IntStart_Segment::IntStart_Segment ()
+: hasfp(Standard_False),
+  haslp(Standard_False)
+{
+}
 
 
 void IntStart_Segment::SetLimitPoint (const ThePathPoint& V,
index eb369d0eff2e8617302859c5160f60eb831147c8..50eb033f42ead885e10ed8f1a262037a8f515bba 100644 (file)
 #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,
index 3b97160e349ddf3e2c7bcb4d88276c979fd85d49..e44a7b72829809f899370473eeaf8cd2232ca585 100644 (file)
@@ -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)
index 5d8ab336858bd7a2aef102d9ac29208ae66aa7e3..18610fa5a9a1e4d4513c7d20dfc1a972821d3de3 100644 (file)
@@ -77,9 +77,14 @@ IntWalk_IWalking::IntWalk_IWalking (const Standard_Real Epsilon,
       pas(Increment),
       tolerance(1,2),
       epsilon(Epsilon*Epsilon),
+      reversed(Standard_False),
       wd1 (IntWalk_VectorOfWalkingData::allocator_type (new NCollection_IncAllocator)),
       wd2 (wd1.get_allocator()),
       nbMultiplicities (wd1.get_allocator()),
+      Um(0.0),
+      UM(0.0),
+      Vm(0.0),
+      VM(0.0),
       ToFillHoles(theToFillHoles)
 {
 }
index add2c500fcbcf9e591570e4fce6f27f73dd092a9..e772631af471a745ef40a7c813d29a185f0215ee 100644 (file)
@@ -202,10 +202,15 @@ IntWalk_PWalking::IntWalk_PWalking(const Handle(Adaptor3d_HSurface)& Caro1,
 
 done(Standard_True),
 close(Standard_False),
+tgfirst(Standard_False),
+tglast(Standard_False),
+myTangentIdx(0),
 fleche(Deflection),
+pasMax(0.0),
 tolconf(Epsilon),
 myTolTang(TolTangency),
 sensCheminement(1),
+previoustg(Standard_False),
 myIntersectionOn2S(Caro1,Caro2,TolTangency),
 STATIC_BLOCAGE_SUR_PAS_TROP_GRAND(0),
 STATIC_PRECEDENT_INFLEXION(0)
index bb347338c36c5bedb03b98106c7a85b669a8c35b..caf0214c1fcbd1d9b32baecd42d1b21d8bb5395a 100644 (file)
 //purpose  : Initialize for a deferred interference.
 //=======================================================================
 Intf_Interference::Intf_Interference (const Standard_Boolean Self)
-     : SelfIntf(Self)
-{}
+     : SelfIntf(Self),
+       Tolerance(0.0)
+{
+}
 
 
 //=======================================================================
index c776f2e3dc5852119204eca07499edb25720376a..126454008e772aed3856c755277cca8fde00fde7 100644 (file)
 //=======================================================================
 Intf_Tool::Intf_Tool()
      : nbSeg(0)
-{}
+{
+  memset (beginOnCurve, 0, sizeof (beginOnCurve));
+  memset (bord, 0, sizeof (bord));
+  memset (xint, 0, sizeof (xint));
+  memset (yint, 0, sizeof (yint));
+  memset (zint, 0, sizeof (zint));
+  memset (parint, 0, sizeof (parint));
+}
 
 //=======================================================================
 //function : Lin2dBox
index 7461f493ba4fe180b0bdc148441ab8443a5d57ee..07f592b5e63a6b2496d9ac991b5d65e66a17d9b5 100644 (file)
@@ -32,7 +32,7 @@ class LDOM_BasicAttribute : public LDOM_BasicNode
  public:
   // ---------- PUBLIC METHODS ----------
 
-  LDOM_BasicAttribute () : LDOM_BasicNode (LDOM_Node::UNKNOWN) {}
+  LDOM_BasicAttribute () : LDOM_BasicNode (LDOM_Node::UNKNOWN), myName(NULL) {}
   //    Empty constructor
 
   LDOM_BasicAttribute&  operator =      (const LDOM_NullPtr * aNull);
index efe179c94923e9ff1f562b9b38fe5150eaa9a4b3..a9ceada9aa21a81cc58e23c9b0b70254031b9904 100644 (file)
@@ -36,6 +36,8 @@ IMPLEMENT_STANDARD_RTTIEXT(Law_BSpFunc,Law_Function)
 //=======================================================================
 
 Law_BSpFunc::Law_BSpFunc()
+: first(0.0),
+  last(0.0)
 {
 }
 
index 6d4fb51089dc960a15833ee1bae9e7adcc90ccda..4176b2f3fa8ad03c482fb6e26315579fcafa3231 100644 (file)
@@ -28,6 +28,9 @@ IMPLEMENT_STANDARD_RTTIEXT(Law_Constant,Law_Function)
 //purpose  : 
 //=======================================================================
 Law_Constant::Law_Constant()
+: radius(0.0),
+  first(0.0),
+  last(0.0)
 {
 }
 
index 64f57a3e93c3971954bc5394e53cc75c04226ac5..08de8e860199e0a852db479c83f979c910d1de58 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(Law_Linear,Law_Function)
 
-Law_Linear::Law_Linear () {}
+Law_Linear::Law_Linear ()
+: valdeb(0.0),
+  valfin(0.0),
+  pdeb(0.0),
+  pfin(0.0)
+{
+}
 
 
 void Law_Linear::Set (const Standard_Real Pdeb,
index 8b8d167460449eef15900d13d311cb5e6308152e..35bfe44cde941c3ed32dcc3a4842d76f900b7b2b 100644 (file)
@@ -22,6 +22,7 @@
 //=======================================================================
 
 inline LocOpe_Generator::LocOpe_Generator()
+: myDone(Standard_False)
 {
 }
 
index 0a2c054c297b2cf5ffbf83fbac85f782224c86bb..0cbead25036368a717b7de98359788abf5b55fc9 100644 (file)
 //purpose  : 
 //=======================================================================
 
-inline LocOpe_LinearForm::LocOpe_LinearForm () {}
+inline LocOpe_LinearForm::LocOpe_LinearForm ()
+: myDone(Standard_False),
+  myIsTrans(Standard_False)
+{
+}
 
 
 //=======================================================================
index 11b8b9db2d63f1f7b6bd2708a5249d03e7432392..7eafdabdcf4e760163951ad64572600c179c919f 100644 (file)
@@ -38,7 +38,12 @@ public:
 
   
   //! Empty constructor. Useful only for the list.
-  LocOpe_PntFace() {}
+  LocOpe_PntFace()
+  : myPar(0.0),
+    myUPar(0.0),
+    myVPar(0.0)
+  {
+  }
   
   LocOpe_PntFace (const gp_Pnt& P, const TopoDS_Face& F, const TopAbs_Orientation Or, const Standard_Real Param, const Standard_Real UPar, const Standard_Real VPar)
     : myPnt (P), myFace (F), myOri (Or), myPar (Param), myUPar (UPar), myVPar (VPar)
index 7b6ca49e9c89965682a27845616113f255cf9b67..0218e3893cd0df771f0e128761d0ca8f4e27454e 100644 (file)
 //function : LocOpe_Prism
 //purpose  : 
 //=======================================================================
-LocOpe_Prism::LocOpe_Prism(): myDone(Standard_False)
-{}
+LocOpe_Prism::LocOpe_Prism()
+: myIsTrans(Standard_False),
+  myDone(Standard_False)
+{
+}
 
 //=======================================================================
 //function : LocOpe_Prism
index 2e5f1add24276d65bcad7c81983bba238b9adc20..e5dd968c5b8b98f9877bcedb2b33578ad1e7d40d 100644 (file)
@@ -49,10 +49,13 @@ static Standard_Boolean FindCircle(const gp_Ax1&,
 //purpose  : 
 //=======================================================================
 
-LocOpe_Revol::LocOpe_Revol() :  myDone(Standard_False)
-
-{}
-
+LocOpe_Revol::LocOpe_Revol()
+: myAngle(0.0),
+  myAngTra(0.0),
+  myIsTrans(Standard_False),
+  myDone(Standard_False)
+{
+}
 
 //=======================================================================
 //function : Perform
index ce08089a1c2db50921ee820f1ac2c2e21f1df348..aebbbbe1d3dbedbb5b89ef2807c377c8229fa553 100644 (file)
 //function : LocOpe_Revol
 //purpose  : 
 //=======================================================================
-LocOpe_RevolutionForm::LocOpe_RevolutionForm() :  myDone(Standard_False)
-
-{}
+LocOpe_RevolutionForm::LocOpe_RevolutionForm()
+: myAngle(0.0),
+  myAngTra(0.0),
+  myDone(Standard_False),
+  myIsTrans(Standard_False)
+{
+}
 
 
 //=======================================================================
index dc47c5353d21872cd8755d8cb68005ca6aece280..35761ec3f49e859bee3a8b30f4e88c75530ba1bb 100644 (file)
@@ -22,6 +22,7 @@
 //=======================================================================
 
 inline LocOpe_Spliter::LocOpe_Spliter()
+: myDone(Standard_False)
 {
 }
 
index 3bbfc98b7a920f62ce3d6c2726cd1f1455949c3f..d3fbe5ef25a3356edd9fb280b97ee69aa67afdda 100644 (file)
@@ -108,9 +108,13 @@ static void FindInternalIntersections(const TopoDS_Edge&,
 //purpose  : 
 //=======================================================================
 
-LocOpe_WiresOnShape::LocOpe_WiresOnShape(const TopoDS_Shape& S):
-  myShape(S),myCheckInterior(Standard_True),myDone(Standard_False)
-{}
+LocOpe_WiresOnShape::LocOpe_WiresOnShape(const TopoDS_Shape& S)
+: myShape(S),
+  myCheckInterior(Standard_True),
+  myDone(Standard_False),
+  myIndex(-1)
+{
+}
 
 //=======================================================================
 //function : Init
index ca7010913e14d1f6ad7d76c7bf9fc4480ec68321..2d65db295900f23721641ecddc87974ca732576a 100644 (file)
@@ -147,6 +147,16 @@ LocalAnalysis_CurveContinuity::LocalAnalysis_CurveContinuity(const Handle(Geom_C
  const Standard_Real EpsG2,
  const Standard_Real Percent,
  const Standard_Real Maxlen )
+: myContC0(0.0),
+  myContC1(0.0),
+  myContC2(0.0),
+  myContG1(0.0),
+  myContG2(0.0),
+  myCourbC1(0.0),
+  myCourbC2(0.0),
+  myG2Variation(0.0),
+  myLambda1(0.0),
+  myLambda2(0.0)
 { myTypeCont = Order;
   myepsnul= Epsnul; 
   myMaxLon=Maxlen;
index 177fda6691736a38bdeab839ae20d61e5e3aba8f..5abeaad737205fb3fc46601dca573704fc464d1b 100644 (file)
@@ -193,6 +193,24 @@ LocalAnalysis_SurfaceContinuity::LocalAnalysis_SurfaceContinuity(const Standard_
                                                                 const Standard_Real EpsG1,
                                                                 const Standard_Real Percent,
                                                                 const Standard_Real Maxlen)
+: myContC0(0.0),
+  myContC1U(0.0),
+  myContC1V(0.0),
+  myContC2U(0.0),
+  myContC2V(0.0),
+  myContG1(0.0),
+  myLambda1U(0.0),
+  myLambda2U(0.0),
+  myLambda1V(0.0),
+  myLambda2V(0.0),
+  myETA1(0.0),
+  myETA2(0.0),
+  myETA(0.0),
+  myZETA1(0.0),
+  myZETA2(0.0),
+  myZETA(0.0),
+  myAlpha(0.0),
+  myGap(0.0)
 { myepsnul=EpsNul;
   myepsC0= EpsC0;
   myepsC1= EpsC1;
@@ -247,6 +265,24 @@ LocalAnalysis_SurfaceContinuity::LocalAnalysis_SurfaceContinuity( const Handle(G
                          const Standard_Real EpsG1,
                          const Standard_Real Percent,              
                          const Standard_Real  Maxlen )
+: myContC0(0.0),
+  myContC1U(0.0),
+  myContC1V(0.0),
+  myContC2U(0.0),
+  myContC2V(0.0),
+  myContG1(0.0),
+  myLambda1U(0.0),
+  myLambda2U(0.0),
+  myLambda1V(0.0),
+  myLambda2V(0.0),
+  myETA1(0.0),
+  myETA2(0.0),
+  myETA(0.0),
+  myZETA1(0.0),
+  myZETA2(0.0),
+  myZETA(0.0),
+  myAlpha(0.0),
+  myGap(0.0)
 { myTypeCont = Ordre;
   myepsnul=EpsNul;
   myepsC0= EpsC0;
@@ -307,6 +343,24 @@ LocalAnalysis_SurfaceContinuity::LocalAnalysis_SurfaceContinuity(const Handle(Ge
                          const Standard_Real EpsG1,
                          const Standard_Real Percent,              
                          const Standard_Real  Maxlen )
+: myContC0(0.0),
+  myContC1U(0.0),
+  myContC1V(0.0),
+  myContC2U(0.0),
+  myContC2V(0.0),
+  myContG1(0.0),
+  myLambda1U(0.0),
+  myLambda2U(0.0),
+  myLambda1V(0.0),
+  myLambda2V(0.0),
+  myETA1(0.0),
+  myETA2(0.0),
+  myETA(0.0),
+  myZETA1(0.0),
+  myZETA2(0.0),
+  myZETA(0.0),
+  myAlpha(0.0),
+  myGap(0.0)
 { Standard_Real pard1, parf1, pard2, parf2, u1, v1, u2, v2;
   
   myTypeCont = Ordre;
index 9466cb1dae8dbe7797512e3f65b91495427cd7a7..87afb57a2d3a545edb5063c722ef756baf6f8c9f 100644 (file)
@@ -30,7 +30,8 @@ IMPLEMENT_STANDARD_RTTIEXT(MAT_BasicElt,Standard_Transient)
 MAT_BasicElt::MAT_BasicElt(const Standard_Integer anInteger)
      : startLeftArc (0),
       endLeftArc   (0),
-      index(anInteger)
+      index(anInteger),
+      geomIndex(0)
 {
 }
 
index a48d27376c62e537b0624d0f1f98d6be05700786..1c83fb1b436ecc92d62786eab7d170ccddfeaa6e 100644 (file)
@@ -22,6 +22,9 @@
 IMPLEMENT_STANDARD_RTTIEXT(MAT_Edge,Standard_Transient)
 
 MAT_Edge::MAT_Edge()
+: theedgenumber(0),
+  thedistance(0.0),
+  theintersectionpoint(0)
 {
 }
     
index 3d9ddd57b9c3ee79a714e59ffa74bbe98c2a4e86..3d653b064ccd1f5198206f1754a21f7f8e989320 100644 (file)
@@ -43,7 +43,13 @@ IMPLEMENT_STANDARD_RTTIEXT(MAT_Graph,Standard_Transient)
 // =====================================================================
 // Constructeur vide.
 // =====================================================================
-MAT_Graph::MAT_Graph() {}
+MAT_Graph::MAT_Graph()
+: numberOfArcs(0),
+  numberOfNodes(0),
+  numberOfBasicElts(0),
+  numberOfInfiniteNodes(0)
+{
+}
 
 // =====================================================================
 // function : Perform
index 1ade00f2e83e7ebe4df75557b9cf46ca3e82a676..b9778c3289bbe0c02b33506bfe3e106b84238709 100644 (file)
@@ -30,7 +30,8 @@ IMPLEMENT_STANDARD_RTTIEXT(MAT_Node,Standard_Transient)
 MAT_Node::MAT_Node(const Standard_Integer     GeomIndex, 
                   const Handle(MAT_Arc)&     LinkedArc, 
                   const Standard_Real        Distance)
-     : geomIndex(GeomIndex),
+     : nodeIndex(0),
+       geomIndex(GeomIndex),
        distance(Distance)
 {
   aLinkedArc = LinkedArc.get();
index 9454184580ad6208374e87a1aace08b02a489359..bfa4a24c42dae9fcd868d77ec228321015e1a4dc 100644 (file)
@@ -29,7 +29,9 @@ IMPLEMENT_STANDARD_RTTIEXT(MAT_Zone,Standard_Transient)
 // purpose :
 //========================================================================
 MAT_Zone::MAT_Zone ()
-{}
+: limited(Standard_True)
+{
+}
 
 //========================================================================
 // function:
index 8224a35c9e12ff6a51520c9e97aa2a2f4e0f75a9..2ace415f5ef2518cd7e6fc298e477f5affdb1a4b 100644 (file)
@@ -75,6 +75,7 @@ static Standard_Real CrossProd(const Handle(Geom2d_Geometry)& Geom1,
 //=============================================================================
 MAT2d_Circuit::MAT2d_Circuit(const GeomAbs_JoinType aJoinType,
                              const Standard_Boolean IsOpenResult)
+: direction(0.0)
 {
   myJoinType = aJoinType;
   myIsOpenResult = IsOpenResult;
index d0cb8fff85c5b674b111542c4775508c7aab7140..acca65a98e6128fc2b95b0d8d103633bb0478d14 100644 (file)
@@ -27,6 +27,13 @@ IMPLEMENT_STANDARD_RTTIEXT(MAT2d_Connexion,Standard_Transient)
 //purpose  :
 //=============================================================================
 MAT2d_Connexion::MAT2d_Connexion()
+: lineA(0),
+  lineB(0),
+  itemA(0),
+  itemB(0),
+  distance(0.0),
+  parameterOnA(0.0),
+  parameterOnB(0.0)
 {
 }
 
index 9f24c154eea6992d13ae1b2647d321907e5daaf8..0c763059dd22e779c231b0d3685c25441eeed9a6 100644 (file)
@@ -31,6 +31,8 @@
 //  purpose  :
 //========================================================================
 MAT2d_Mat2d::MAT2d_Mat2d(const Standard_Boolean IsOpenResult)
+: semiInfinite(Standard_False),
+  isDone(Standard_False)
 {
   myIsOpenResult = IsOpenResult;
   thenumberofbisectors = 0;
index 762119674c8977554f6237e3d81efcc6ee038305..e40551b9f91f4fab2622274917c76604beaf9563 100644 (file)
@@ -34,6 +34,8 @@
 //purpose  :
 //============================================================================
 MAT2d_MiniPath::MAT2d_MiniPath()
+: theDirection(1.0),
+  indStart(0)
 {
 }
 
index e18b984063ef3583c984f7bbb3f86d4c861280a8..ce759cd991b5cca3990b5510b205606e6eba4580 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(MoniTool_Element,Standard_Transient)
 
+MoniTool_Element::MoniTool_Element()
+: thecode(-1)
+{
+}
+
 void  MoniTool_Element::SetHashCode (const Standard_Integer code)
       {  thecode = code;  }
 
index eabbe8bd9cb41c8bb551598291413a543315eb81..6016546fbe43108d6182e4838b381ca68b9eb960 100644 (file)
@@ -43,6 +43,9 @@ class MoniTool_Element : public Standard_Transient
 public:
 
   
+  //! Empty constructor
+  Standard_EXPORT MoniTool_Element();
+  
   //! Returns the HashCode which has been stored by SetHashCode
   //! (remark that HashCode could be deferred then be defined by
   //! sub-classes, the result is the same)
index 5cd019d3a866243cb08153764e9a4061460e2f75..99485abe99d08735ab32b90d06f121a8c27f9db9 100644 (file)
@@ -30,7 +30,9 @@ MoniTool_Stat::MoniTool_Stat (const Standard_CString title)
 }
 
     MoniTool_Stat::MoniTool_Stat (const MoniTool_Stat& )
-{  }
+    : thelev(0)
+{
+}
 
     MoniTool_Stat&  MoniTool_Stat::Current ()
 {
index 44e3b2626c50acff220343ac6d16483fc2e5a8e7..244f821d83f8138005cafa4271be5872ad55e2f9 100644 (file)
@@ -72,6 +72,7 @@ static Standard_Boolean StaticPath(const Handle(TCollection_HAsciiString)& val)
    const MoniTool_ValueType type, const Standard_CString init)
     : thename (name) , thetype (type) ,
       thelims (0), themaxlen (0) , theintlow (0) , theintup (-1) ,
+      therealow(0.0), therealup(0.0),
       theinterp (NULL) , thesatisf (NULL) , 
       theival (0),
       thehval (new TCollection_HAsciiString(""))
index 05d163899f2d87f31e638dfe82b4028f885d9f69..09861516f23ec90a2d06f7aff350726f153bce07 100644 (file)
@@ -42,6 +42,8 @@ class NLPlate_HGPPConstraint : public Standard_Transient
 public:
 
   
+  NLPlate_HGPPConstraint() : myActiveOrder(0) {}
+  
   Standard_EXPORT virtual void SetUVFreeSliding (const Standard_Boolean UVFree);
   
   Standard_EXPORT virtual void SetIncrementalLoadAllowed (const Standard_Boolean ILA);
index 8db5c3043a09d640c35624307a8a4751ee317cc9..cac873b573cf2782aed26127ea9fe353dab70973 100644 (file)
 #include <PCDM_Reference.hxx>
 #include <TCollection_ExtendedString.hxx>
 
-PCDM_Reference::PCDM_Reference(){}
+PCDM_Reference::PCDM_Reference()
+: myReferenceIdentifier(0),
+  myDocumentVersion(0)
+{
+}
+
 PCDM_Reference::PCDM_Reference(const Standard_Integer aReferenceIdentifier, const TCollection_ExtendedString& aFileName, const Standard_Integer aDocumentVersion):myReferenceIdentifier(aReferenceIdentifier),myFileName(aFileName),myDocumentVersion(aDocumentVersion) {}
 
 
index f028ff5af7025b1e11afeb892e117829b8c06709..1addff0d2a888b0c6c208475d78ff900238a1409 100644 (file)
@@ -47,6 +47,8 @@ Plate_Plate::Plate_Plate()
   L (0.0)
 {
   PolynomialPartOnly = Standard_False;
+  memset (ddu, 0, sizeof (ddu));
+  memset (ddv, 0, sizeof (ddv));
 }
 
 //=======================================================================
index 6d5e6698aad731337d21d706d3a908af79513e98..b03b7a911149b8ccb446ef07e6331a40195693e7 100644 (file)
@@ -81,7 +81,12 @@ struct SplitDS
           NCollection_Vector<Standard_Real> &theSplits)
   : myCurve(theCurve),
     mySurface(theSurface),
-    mySplits(theSplits)
+    mySplits(theSplits),
+    myPerMinParam(0.0),
+    myPerMaxParam(0.0),
+    myPeriodicDir(0),
+    myExtCC(NULL),
+    myExtPS(NULL)
   { }
 
   // Assignment operator is forbidden.
index bc17381e5700109920c9b5d619aa87d9f834ca09..491e88380ef2eae9295427c19d0c6a11fa034160 100644 (file)
 
 struct aFuncStruct
 {
+  aFuncStruct() // Empty constructor.
+  : mySqProjOrtTol(0.0),
+    myTolU(0.0),
+    myTolV(0.0)
+  {
+    memset(myPeriod, 0, sizeof (myPeriod));
+  }
+
   Handle(Adaptor3d_HSurface) mySurf; // Surface where to project.
   Handle(Adaptor3d_HCurve)   myCurve; // Curve to project.
   Handle(Adaptor2d_HCurve2d) myInitCurve2d; // Initial 2dcurve projection.
index 892fbf92a018b244dd17ac847cf8d135ee2518c4..e6455485f0a1b7b78fbc53c9bfc1392a15d9af52 100644 (file)
@@ -26,7 +26,9 @@
 #include <Standard_DomainError.hxx>
 #include <StdFail_NotDone.hxx>
 
-ProjLib_PrjResolve::ProjLib_PrjResolve(const Adaptor3d_Curve& C,const Adaptor3d_Surface& S,const Standard_Integer Fix) : myFix(Fix)
+ProjLib_PrjResolve::ProjLib_PrjResolve(const Adaptor3d_Curve& C,const Adaptor3d_Surface& S,const Standard_Integer Fix)
+: myDone(Standard_False),
+  myFix(Fix)
 {
   if (myFix > 3 || myFix < 1) throw Standard_ConstructionError();
   mySolution = gp_Pnt2d(0.,0.);
index fb3786624c25f9e76aae5fb1bb69fa18e02a091e..d14309a8adbeaaccba7e4ff8269c424a3ec37f28 100644 (file)
@@ -147,7 +147,8 @@ private:
 //=======================================================================
 
 ProjLib_ProjectOnSurface::ProjLib_ProjectOnSurface() :
-myIsDone(Standard_False) 
+myTolerance(0.0),
+myIsDone(Standard_False)
 {
 }
 
@@ -158,7 +159,8 @@ myIsDone(Standard_False)
 
 ProjLib_ProjectOnSurface::ProjLib_ProjectOnSurface
 (const Handle(Adaptor3d_HSurface)& S ) :
-myIsDone(Standard_False) 
+myTolerance(0.0),
+myIsDone(Standard_False)
 {
   mySurface = S;
 }
index 9bd9afca6622bde5754f1ef86e1de536ae8ca4d8..29a5e93d8136e7ddb8890c18b418684d50352304 100644 (file)
@@ -38,6 +38,7 @@
 //purpose  : 
 //=======================================================================
 ProjLib_Projector::ProjLib_Projector()
+: myIsPeriodic(Standard_False)
 {
   isDone = Standard_False;
   myType = GeomAbs_BSplineCurve;
index 9c88619e13692db74fae463a00fef263e29a064e..6fdd11282e693a2dc31485afcc84b52c45790147 100644 (file)
@@ -393,6 +393,7 @@ static Standard_Integer OCC23774(Draw_Interpretor& di, Standard_Integer n, const
 
 struct GeomConvertTest_Data
 {
+  GeomConvertTest_Data() : nbupoles(0) {}
   Standard_Integer nbupoles;
   Handle(Geom_Surface) surf;
 };
@@ -467,6 +468,7 @@ static Standard_Integer OCC23952sweep (Draw_Interpretor& di, Standard_Integer ar
 
 struct GeomIntSSTest_Data
 {
+  GeomIntSSTest_Data() : nbsol(0) {}
   Standard_Integer nbsol;
   Handle(Geom_Surface) surf1, surf2;
 };
index 88c16b10e054aa4752b272367ceb00c30a3279ad..557297024e068e08b0fb184ed9d0b7f223431b74 100644 (file)
@@ -179,6 +179,7 @@ RWGltf_GltfJsonParser::RWGltf_GltfJsonParser (TopTools_SequenceOfShape& theRootS
 : myRootShapes(&theRootShapes),
   myAttribMap (NULL),
   myExternalFiles (NULL),
+  myMetadata (NULL),
   myBinBodyOffset (0),
   myBinBodyLen (0),
   myIsBinary (false),
index 461b0b1e3f42464f1f8c05e1d2f2fe34956223ee..7804a95218c2b44f45ad8fe04d809e644e0758d0 100644 (file)
 //function : STEPConstruct_UnitContext
 //purpose  : 
 //=======================================================================
-STEPConstruct_UnitContext::STEPConstruct_UnitContext() : done(Standard_False)
+STEPConstruct_UnitContext::STEPConstruct_UnitContext()
+: done(Standard_False),
+  lengthFactor(0.0),
+  planeAngleFactor(0.0),
+  solidAngleFactor(0.0),
+  areaFactor(0.0),
+  volumeFactor(0.0)
 {
   lengthDone = planeAngleDone = solidAngleDone = hasUncertainty = 
     areaDone = volumeDone = Standard_False;
index ca669964edbacea9b515dd7ab6845e99fe64a630..57c8c8bfc3dfb8c7304c7f049ffdd192786a8f72 100644 (file)
@@ -203,8 +203,11 @@ namespace {
 // Purpose : Empty constructor
 // ============================================================================
 
-STEPControl_ActorRead::STEPControl_ActorRead() {}
-
+STEPControl_ActorRead::STEPControl_ActorRead()
+: myPrecision(0.0),
+  myMaxTol(0.0)
+{
+}
 // ============================================================================
 // Method  : STEPControl_ActorRead::Recognize
 // Purpose : tells if an entity is valid for transfer by this Actor
index 33b82cd98a6fe5681e6b2b9b3dcec7fdb47e6609..ba94866853c57f13369236ca95bcbde81f6fe113 100644 (file)
@@ -144,7 +144,11 @@ protected:
   public:
 
     //! Empty constructor.
-    BvhPrimitiveSet() : BVH_PrimitiveSet3d (Handle(Select3D_BVHBuilder3d)()) {}
+    BvhPrimitiveSet()
+    : BVH_PrimitiveSet3d(Handle(Select3D_BVHBuilder3d)()),
+      mySensitiveSet(NULL)
+    {
+    }
 
     //! Destructor.
     ~BvhPrimitiveSet() {}
index 1b89fcfa7f713a3118b3d68a96d31e4d0609f219..c846147082a624815f948bba5d1094347d0cb13c 100644 (file)
@@ -38,7 +38,10 @@ public:
 
 public:
 
-  SelectBasics_SelectingVolumeManager() {}
+  SelectBasics_SelectingVolumeManager()
+  : myActiveSelectionType(Unknown)
+  {
+  }
 
   virtual ~SelectBasics_SelectingVolumeManager() {}
 
index d758bb5e9f0fd1b5f1bfb4cb9e722c3f974b8011..020247ca5961fda6ef362f61933abe58581f13a1 100644 (file)
@@ -56,7 +56,13 @@ class SelectMgr_Frustum : public SelectMgr_BaseFrustum
 {
 public:
 
-  SelectMgr_Frustum() : SelectMgr_BaseFrustum() {};
+  SelectMgr_Frustum() : SelectMgr_BaseFrustum()
+  {
+    memset (myMaxOrthoVertsProjections, 0, sizeof (myMaxOrthoVertsProjections));
+    memset (myMinOrthoVertsProjections, 0, sizeof (myMinOrthoVertsProjections));
+    memset (myMaxVertsProjections, 0, sizeof (myMaxVertsProjections));
+    memset (myMinVertsProjections, 0, sizeof (myMinVertsProjections));
+  }
 
 protected:
 
index 4c6d85d37443e154a2d672b195debff6c9232d32..344be5a6e134e3adc90c4c03c8ac2be6f75d183a 100644 (file)
 #include <TopoDS_Iterator.hxx>
 #include <TopoDS_Shape.hxx>
 
+//=======================================================================
+//function : ShapeAnalysis_Shell
+//purpose  : 
+//=======================================================================
+ShapeAnalysis_Shell::ShapeAnalysis_Shell()
+: myConex(Standard_False)
+{
+}
+
 //=======================================================================
 //function : Clear
 //purpose  : 
index be14e14f64ad8418870908df3282d0e76914d345..7e31e4fe8291d8a0d812c880b69388410394d857 100644 (file)
@@ -37,6 +37,9 @@ public:
   DEFINE_STANDARD_ALLOC
 
   
+  //! Empty constructor
+  Standard_EXPORT ShapeAnalysis_Shell();
+  
   //! Clears data about loaded shells and performed checks
   Standard_EXPORT void Clear();
   
index 3079a1c4abae64ff9b5527e6b1da5e3e7d769a09..28f0dc82a3414afe25dd4c349236603d781550e6 100644 (file)
@@ -58,6 +58,7 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_TransferParametersProj,ShapeAnalysis_Tr
 //purpose  : 
 //=======================================================================
 ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj()
+: myPrecision(0.0)
 {
   myMaxTolerance = 1; //Precision::Infinite(); ?? pdn
   myForceProj = Standard_False;
index 3c678f2fbbecf9728664230ee8aa86e24f6b7593..f5b5b1c1d7bf70651267f0355f1d81e1a2b2cd8b 100644 (file)
@@ -53,8 +53,11 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeFix_EdgeProjAux,Standard_Transient)
 //purpose  : 
 //=======================================================================
 ShapeFix_EdgeProjAux::ShapeFix_EdgeProjAux ()
+: myFirstParam(0.0),
+  myLastParam(0.0),
+  myFirstDone(Standard_False),
+  myLastDone(Standard_False)
 {
-  myFirstDone = myLastDone = Standard_False;
 }
 
 //=======================================================================
index 879cad985d8db3ed01e93c0b86b8493e90772599..df9618e7e860c841ec0df0d8c2152beaff45f21a 100644 (file)
 //function : ShapeFix_FreeBounds
 //purpose  : 
 //=======================================================================
-ShapeFix_FreeBounds::ShapeFix_FreeBounds() {}
+ShapeFix_FreeBounds::ShapeFix_FreeBounds()
+: myShared(Standard_False),
+  mySewToler(0.0),
+  myCloseToler(0.0),
+  mySplitClosed(Standard_False),
+  mySplitOpen(Standard_False)
+{
+}
 
 //=======================================================================
 //function : ShapeFix_FreeBounds
index ed4ef6e07e503e7508f4bd8bf89bc9fcb40c18c9..dc2a1c613f037158403287b6f3419329d9f0ec85 100644 (file)
@@ -43,6 +43,11 @@ public:
     friend class ShapePersistent_BRep;
 
   public:
+    //! Empty constructor.
+    PointRepresentation()
+    : myParameter(0.0)
+    {
+    }
     //! Read persistent data from a file.
     Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
     //! Write persistent data to a file.
@@ -114,6 +119,10 @@ public:
     friend class ShapePersistent_BRep;
 
   public:
+    PointOnSurface()
+    : myParameter2(0.0)
+    {
+    }
     virtual void Read (StdObjMgt_ReadData& theReadData);
     virtual void Write (StdObjMgt_WriteData& theWriteData) const;
     virtual Standard_CString PName() const { return "PBRep_PointOnSurface"; }
@@ -154,6 +163,11 @@ public:
     friend class ShapePersistent_BRep;
 
   public:
+    GCurve()
+    : myFirst(0.0),
+      myLast(0.0)
+    {
+    }
     virtual void Read (StdObjMgt_ReadData& theReadData);
     virtual void Write (StdObjMgt_WriteData& theWriteData) const;
     virtual Standard_CString PName() const { return "PBRep_GCurve"; }
@@ -201,6 +215,10 @@ public:
     friend class ShapePersistent_BRep;
 
   public:
+    CurveOnClosedSurface()
+    : myContinuity(0)
+    {
+    }
     virtual void Read (StdObjMgt_ReadData& theReadData);
     virtual void Write (StdObjMgt_WriteData& theWriteData) const;
     virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const;
@@ -296,6 +314,10 @@ public:
     friend class ShapePersistent_BRep;
 
   public:
+    CurveOn2Surfaces()
+    : myContinuity(0)
+    {
+    }
     virtual void Read (StdObjMgt_ReadData& theReadData);
     virtual void Write (StdObjMgt_WriteData& theWriteData) const;
     virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const;
@@ -315,6 +337,10 @@ private:
     friend class ShapePersistent_BRep;
 
   public:
+    pTVertex()
+    : myTolerance(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       pTBase::Read (theReadData);
@@ -347,6 +373,11 @@ private:
     friend class ShapePersistent_BRep;
 
   public:
+    pTEdge()
+    : myTolerance(0.0),
+      myFlags(0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       pTBase::Read (theReadData);
@@ -379,6 +410,11 @@ private:
     friend class ShapePersistent_BRep;
 
   public:
+    pTFace()
+    : myTolerance(0.0),
+      myNaturalRestriction(Standard_False)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       pTBase::Read (theReadData);
index 6522d7a00abc2c1cde442bf2e63fcac8b79b2282..9f0cc8549bec8fc8f3e44328794b780ec7fb9506 100644 (file)
@@ -48,6 +48,10 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d
     friend class ShapePersistent_Geom2d_Curve;
 
   public:
+    pBezier()
+    : myRational(Standard_False)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myRational >> myPoles >> myWeights; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
@@ -73,6 +77,12 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d
     friend class ShapePersistent_Geom2d_Curve;
 
   public:
+    pBSpline()
+    : myRational(Standard_False),
+      myPeriodic(Standard_False),
+      mySpineDegree(0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       theReadData >> myRational >> myPeriodic >> mySpineDegree;
@@ -110,6 +120,11 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d
     friend class ShapePersistent_Geom2d_Curve;
 
   public:
+    pTrimmed()
+    : myFirstU(0.0),
+      myLastU(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myBasisCurve >> myFirstU >> myLastU; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
@@ -132,6 +147,10 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d
     friend class ShapePersistent_Geom2d_Curve;
 
   public:
+    pOffset()
+    : myOffsetValue(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myBasisCurve >> myOffsetValue; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
index 0e4cef596486c4829c1f3e9d4731d75e2e10eab6..4ba79319e662ac661e5c8b24be90e716a0c7944c 100644 (file)
@@ -49,6 +49,10 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Curve;
 
   public:
+    pBezier()
+    : myRational(Standard_False)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myRational >> myPoles >> myWeights; }
     inline void Write(StdObjMgt_WriteData& theWriteData)
@@ -73,6 +77,12 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Curve;
 
   public:
+    pBSpline()
+    : myRational(Standard_False),
+      myPeriodic(Standard_False),
+      mySpineDegree(0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       theReadData >> myRational >> myPeriodic >> mySpineDegree;
@@ -109,6 +119,11 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Curve;
 
   public:
+    pTrimmed()
+    : myFirstU(0.0),
+      myLastU(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myBasisCurve >> myFirstU >> myLastU; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
@@ -130,6 +145,10 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Curve;
 
   public:
+    pOffset()
+    : myOffsetValue(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myBasisCurve >> myOffsetDirection >> myOffsetValue; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
index 02f56ab12edf027f692cb48571dc575bad924944..8ff57d66d0b98c29152299870af81f353517041b 100644 (file)
@@ -112,6 +112,11 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Surface;
 
   public:
+    pBezier()
+    : myURational(Standard_False),
+      myVRational(Standard_False)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myURational >> myVRational >> myPoles >> myWeights; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
@@ -138,6 +143,15 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Surface;
 
   public:
+    pBSpline()
+    : myURational(Standard_False),
+      myVRational(Standard_False),
+      myUPeriodic(Standard_False),
+      myVPeriodic(Standard_False),
+      myUSpineDegree(0),
+      myVSpineDegree(0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       theReadData >> myURational >> myVRational;
@@ -192,6 +206,13 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Surface;
 
   public:
+    pRectangularTrimmed()
+    : myFirstU(0.0),
+      myLastU(0.0),
+      myFirstV(0.0),
+      myLastV(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
     {
       theReadData >> myBasisSurface;
@@ -222,6 +243,10 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom
     friend class ShapePersistent_Geom_Surface;
 
   public:
+    pOffset()
+    : myOffsetValue(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myBasisSurface >> myOffsetValue; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
index ce86aa355b46208dc6db919b3ee3e4b8485ffbf0..aa96843cc86de7fa376285167db8efbe4c49af25 100644 (file)
@@ -72,6 +72,12 @@ class ShapePersistent_HSequence
     typedef node<SequenceClass> Node;
 
   public:
+    //! Empty constructor.
+    instance()
+    : mySize(0)
+    {
+    }
+
     //! Read persistent data from a file.
     Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
 
index 8a7bca22061e81e593c82eeca1599dc4baf05b07..7076d57b4b6122b7c619997a97ed8f9016a8ffa8 100644 (file)
@@ -35,6 +35,10 @@ class ShapePersistent_Poly : private StdObjMgt_SharedObject
     friend class ShapePersistent_Poly;
 
   public:
+    pPolygon2D()
+    : myDeflection(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myDeflection >> myNodes; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
@@ -74,6 +78,10 @@ class ShapePersistent_Poly : private StdObjMgt_SharedObject
     friend class ShapePersistent_Poly;
 
   public:
+    pPolygonOnTriangulation()
+    : myDeflection(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myDeflection >> myNodes >> myParameters; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
@@ -94,6 +102,10 @@ class ShapePersistent_Poly : private StdObjMgt_SharedObject
     friend class ShapePersistent_Poly;
 
   public:
+    pTriangulation()
+    : myDeflection(0.0)
+    {
+    }
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myDeflection >> myNodes >> myUVNodes >> myTriangles; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
index e379767521448a957c5458ecf5690a6aff18f6db..7d47ecb6a34d717a955247304b67f3ad455e84b8 100644 (file)
@@ -32,7 +32,9 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitCurve,Standard_Transient)
 //function : ShapeUpgrade_SplitCurve
 //purpose  : 
 //=======================================================================
-ShapeUpgrade_SplitCurve::ShapeUpgrade_SplitCurve() : myStatus(0)
+ShapeUpgrade_SplitCurve::ShapeUpgrade_SplitCurve()
+: myNbCurves(0),
+  myStatus(0)
 {
 }
 
index 8d40b311162dbb1041744962decc2f7513542927..13153ab5ff38e114ee203fb62ac44aed513998f3 100644 (file)
@@ -44,7 +44,10 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,Standard_Transient)
 //function : ShapeUpgrade_SplitSurface
 //purpose  : 
 //=======================================================================
-ShapeUpgrade_SplitSurface::ShapeUpgrade_SplitSurface() : myStatus(0)
+ShapeUpgrade_SplitSurface::ShapeUpgrade_SplitSurface()
+: myNbResultingRow(0),
+  myNbResultingCol(0),
+  myStatus(0)
 {
 }
 
index ff027758092d8ebfb00e21273b6d914e6098be73..e2660fea6d556e283516f5e87f982e875eb6ac17 100644 (file)
@@ -40,6 +40,7 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceContinuity,ShapeUpgrade_Spli
 //purpose  : 
 //=======================================================================
 ShapeUpgrade_SplitSurfaceContinuity::ShapeUpgrade_SplitSurfaceContinuity()
+: myCont(0)
 {
   myCriterion = GeomAbs_C1;
   myTolerance = Precision::Confusion();
index 55b6dd29597ca7e3dd502e2a352501b6a4891f57..1f9d22f4f3a95eddb5215ff252464c5d33c4eeb3 100644 (file)
@@ -46,6 +46,13 @@ class StdLPersistent_Collection
   class booleanArrayBase : public Base
   {
   public:
+    //! Empty constructor.
+    booleanArrayBase()
+    : myLower(0),
+      myUpper(0)
+    {
+    }
+
     //! Read persistent data from a file.
     virtual void Read (StdObjMgt_ReadData& theReadData)
     {
@@ -116,6 +123,12 @@ class StdLPersistent_Collection
   class instance_1 : public Instance
   {
   public:
+    //! Empty constructor.
+    instance_1()
+    : myDelta(Standard_False)
+    {
+    }
+
     //! Read persistent data from a file.
     Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
 
index 455643625d1d2edf13ec5acf0b4a492143e75242..48cca0636f8eb629d74a7c38d72a08b3151b7e5f 100644 (file)
@@ -24,6 +24,11 @@ class TDF_Data;
 class StdLPersistent_Data : public StdObjMgt_Persistent
 {
 public:
+  //! Empty constructor.
+  StdLPersistent_Data()
+  : myVersion(0)
+  {
+  }
   //! Read persistent data from a file.
   Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
   //! Write persistent data to a file.
index 4474fd65307a60929ba54248b6322381344bb8ea..f981bdfea15758a9a1afb95d6814b46721a553a9 100644 (file)
 class StdLPersistent_Function : public StdObjMgt_Attribute<TFunction_Function>
 {
 public:
+  //! Empty constructor.
+  StdLPersistent_Function()
+  : myFailure(0)
+  {
+  }
   //! Read persistent data from a file.
   inline void Read (StdObjMgt_ReadData& theReadData)
     { theReadData >> myDriverGUID >> myFailure; }
index 4b6dfe68053451c4614894e09c97f5911387e518..e1a0c2417aaf79fd78629a433a6bcce3d5a1e66c 100644 (file)
 class StdLPersistent_Real : public StdObjMgt_Attribute<TDataStd_Real>
 {
 public:
+  //! Empty constructor.
+  StdLPersistent_Real()
+  : myValue(0.0),
+    myDimension(0)
+  {
+  }
   //! Read persistent data from a file.
   inline void Read (StdObjMgt_ReadData& theReadData)
     { theReadData >> myValue >> myDimension; }
index ab46337355a344575d0fabf0db4f2941f112ca2c..21c53d5a70953a049df828d10275f4cb2b7cac3a 100644 (file)
 class StdLPersistent_Variable : public StdObjMgt_Attribute<TDataStd_Variable>
 {
 public:
+  //! Empty constructor.
+  StdLPersistent_Variable()
+  : myIsConstant(Standard_False)
+  {
+  }
   //! Read persistent data from a file.
   inline void Read (StdObjMgt_ReadData& theReadData)
     { theReadData >> myIsConstant >> myUnit; }
index 7d1ab803e5af52117165535bdac44ee1ecbc31f5..9a53d23b7d054e4722e60e3d26c6ccdee3e742f3 100644 (file)
@@ -28,6 +28,9 @@ class StdObject_Shape
   friend class ShapePersistent_TopoDS;
 
 public:
+  //! Empty constructor.
+  StdObject_Shape() : myOrient(0) {}
+
   //! Import transient object from the persistent data.
   Standard_EXPORT TopoDS_Shape Import() const;
 
index 306212864a2c9c35c58a63e60baa159207b127d2..5ba0118eb105c30959ee88c5c049cac1b03979b1 100644 (file)
@@ -32,6 +32,7 @@ protected:
     DEFINE_STANDARD_RTTI_INLINE(pTShape, Standard_Transient)
 
   public:
+    pTShape() : myFlags(0) {}
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myShapes >> myFlags; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const
index bf54dcb8b4b3c380d07e292e1f09e2df3624e23a..2d80105ab11e073eaebc6f65a9dd981b83d014e5 100644 (file)
@@ -105,6 +105,7 @@ static void ResetPreci (const TopoDS_Shape& S, Standard_Real maxtol)
 // ============================================================================
 
 StepToTopoDS_Builder::StepToTopoDS_Builder()
+: myError(StepToTopoDS_BuilderOther)
 {
   done = Standard_False;
 }
index 40ae677b0c1c295fc47063f75ee6a3e4b304d29e..28d0ff600e19b8181ff67027adb727a7ab5ebe50 100644 (file)
 // Method  : StepToTopoDS_Tool::StepToTopoDS_Tool
 // Purpose : Empty Constructor
 // ============================================================================
-StepToTopoDS_Tool::StepToTopoDS_Tool() {}
+StepToTopoDS_Tool::StepToTopoDS_Tool()
+: myComputePC(Standard_False),
+  myNbC0Surf(0),
+  myNbC1Surf(0),
+  myNbC2Surf(0),
+  myNbC0Cur2(0),
+  myNbC1Cur2(0),
+  myNbC2Cur2(0),
+  myNbC0Cur3(0),
+  myNbC1Cur3(0),
+  myNbC2Cur3(0)
+{
+}
 
 // ============================================================================
 // Method  : StepToTopoDS_Tool::StepToTopoDS_Tool
index 774c0d289b5e70591c70d0eb754537bfdee79ded..f3660ea1f39fe47406f864bbd1021c47c443b970 100644 (file)
 //function : Create
 //purpose  : 
 //=======================================================================
-StepToTopoDS_TranslateCompositeCurve::StepToTopoDS_TranslateCompositeCurve () {}
+StepToTopoDS_TranslateCompositeCurve::StepToTopoDS_TranslateCompositeCurve ()
+: myInfiniteSegment(Standard_False)
+{
+}
        
 //=======================================================================
 //function : Create
index 47d948f8afb74af5f4c3b9e844cb8f51141bf256..eb615881088b9404184d9cf0415aa2745592a432 100644 (file)
@@ -171,6 +171,7 @@ static TopoDS_Edge  MakeEdge
 // ============================================================================
 
 StepToTopoDS_TranslateEdge::StepToTopoDS_TranslateEdge()
+: myError(StepToTopoDS_TranslateEdgeOther)
 {
   done = Standard_False;
 }
index e7f0e6578fc13935331f16f880a915ea0ccfd5a9..786d8ab80d4c58b393d9d118faf6d7838e5fdd6e 100644 (file)
@@ -184,6 +184,7 @@ static void CheckPCurves (TopoDS_Wire& aWire, const TopoDS_Face& aFace,
 // ============================================================================
 
 StepToTopoDS_TranslateEdgeLoop::StepToTopoDS_TranslateEdgeLoop()
+: myError(StepToTopoDS_TranslateEdgeLoopOther)
 {
   done = Standard_False;
 }
index a1f6731339f161a22093f9eaef60b17bcde4a014..6dbd42ce3695885636b6368318296b3ea8049de4 100644 (file)
@@ -96,6 +96,7 @@
 // Purpose : Empty Constructor
 // ============================================================================
 StepToTopoDS_TranslateFace::StepToTopoDS_TranslateFace()
+: myError(StepToTopoDS_TranslateFaceOther)
 {
   done = Standard_False;
 }
index eac359b9e36c89172eebe814cccafdd16698f4b4..8ff7483901d4fb02af31fbab6dd560f18d6afc85 100644 (file)
@@ -47,6 +47,7 @@
 // Purpose :
 // ============================================================================
 StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop()
+: myError(StepToTopoDS_TranslatePolyLoopOther)
 {
   done = Standard_False;
 }
index 8a0e21097691d5516b25c8735cc000fa276e2572..b879331e796d4a2446cd7d4735ba7700a9132128 100644 (file)
@@ -37,6 +37,7 @@
 // Purpose : Empty Constructor
 // ============================================================================
 StepToTopoDS_TranslateShell::StepToTopoDS_TranslateShell()
+: myError(StepToTopoDS_TranslateShellOther)
 {
   done = Standard_False;
 }
index 5f22e4f3a510842e9540a0fc8e0dab40c9fda40d..81449620fa734108bda682bec1b34ae1268153a0 100644 (file)
@@ -40,6 +40,7 @@
 // Purpose : Empty Constructor
 // ============================================================================
 StepToTopoDS_TranslateVertex::StepToTopoDS_TranslateVertex()
+: myError(StepToTopoDS_TranslateVertexOther)
 {
   done = Standard_False;
 }
index 947c442f236fb2b36b33c68c6339ecea9aa974d7..d13eeea5d0a7fa1239dbb5421c8c954c4612ca6b 100644 (file)
@@ -37,6 +37,7 @@
 // Purpose : Empty Constructor
 // ============================================================================
 StepToTopoDS_TranslateVertexLoop::StepToTopoDS_TranslateVertexLoop()
+: myError(StepToTopoDS_TranslateVertexLoopOther)
 {
 }
 
index 43e5322eb0d477f8f016f3c74ee51024b6fca79f..1c86522688d44a4b0cb83516271ff8e9feeb737a 100644 (file)
@@ -26,7 +26,9 @@
 //=======================================================================
 Sweep_NumShapeIterator::Sweep_NumShapeIterator():
        myNumShape(0,TopAbs_SHAPE),
-       myCurrentNumShape(0,TopAbs_SHAPE)
+       myCurrentNumShape(0,TopAbs_SHAPE),
+       myCurrentRange(0),
+       myMore(Standard_False)
 {
 }
 
index 048a07e6ac7c8fda07b7068023d966a4220c3e16..279e2349ce8b8c4ad432e1fdefca851b138531be 100644 (file)
@@ -36,7 +36,9 @@ IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfByteArray,TDF_DeltaOnMo
 //=======================================================================
 
 TDataStd_DeltaOnModificationOfByteArray::TDataStd_DeltaOnModificationOfByteArray(const Handle(TDataStd_ByteArray)& OldAtt)
-: TDF_DeltaOnModification(OldAtt)
+: TDF_DeltaOnModification(OldAtt),
+  myUp1(0),
+  myUp2(0)
 {
   Handle(TDataStd_ByteArray) CurrAtt;
   if (Label().FindAttribute(OldAtt->ID(),CurrAtt)) {
index dfb247e99c29b7f3ae11cbd4b8e175ee41166aa5..edfa878b8c55286aa63a1935616a3b4ed15dc078 100644 (file)
@@ -35,7 +35,9 @@ IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfExtStringArray,TDF_Delt
 //=======================================================================
 
 TDataStd_DeltaOnModificationOfExtStringArray::TDataStd_DeltaOnModificationOfExtStringArray(const Handle(TDataStd_ExtStringArray)& OldAtt)
-: TDF_DeltaOnModification(OldAtt)
+: TDF_DeltaOnModification(OldAtt),
+  myUp1(0),
+  myUp2(0)
 {
   Handle(TDataStd_ExtStringArray) CurrAtt;
   if (Label().FindAttribute(OldAtt->ID(),CurrAtt)) {
index 6280934c5e36c153f3c26dd147f09c0441db28ed..5fc47bda80ec6fff426c7c0f45a0598c19c65e40 100644 (file)
@@ -35,7 +35,9 @@ IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntArray,TDF_DeltaOnMod
 //=======================================================================
 
 TDataStd_DeltaOnModificationOfIntArray::TDataStd_DeltaOnModificationOfIntArray(const Handle(TDataStd_IntegerArray)& OldAtt)
-: TDF_DeltaOnModification(OldAtt)
+: TDF_DeltaOnModification(OldAtt),
+  myUp1(0),
+  myUp2(0)
 {
   Handle(TDataStd_IntegerArray) CurrAtt;
   if (Label().FindAttribute(OldAtt->ID(),CurrAtt)) {
index a04f38af4443b99331875e28b914eb5635de8187..6553ac15d1875e46e3834401d5e793f66db98acf 100644 (file)
@@ -36,7 +36,9 @@ IMPLEMENT_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfRealArray,TDF_DeltaOnMo
 
 TDataStd_DeltaOnModificationOfRealArray::
   TDataStd_DeltaOnModificationOfRealArray(const Handle(TDataStd_RealArray)& OldAtt)
-: TDF_DeltaOnModification(OldAtt)
+: TDF_DeltaOnModification(OldAtt),
+  myUp1(0),
+  myUp2(0)
 {
   Handle(TDataStd_RealArray) CurrAtt;
   if (Label().FindAttribute(OldAtt->ID(),CurrAtt)) {
index e67e4be77cfeb19227f017f34d43210551ec54f9..f29d527ffa976b2597be202556d7eb6075604b8d 100644 (file)
@@ -169,6 +169,7 @@ TNaming_NamedShape::TNaming_NamedShape()
 { 
   myNode    = 0L;
   myVersion = 0;
+  myEvolution = TNaming_PRIMITIVE;
 }
 
 //=======================================================================
index 22f46b3358804b1654bff5cf1b1d12a628fb0c75..abf99e551fe6d0f9b7cc736b7a1e87041196b082 100644 (file)
 TopClass_Classifier2d::TopClass_Classifier2d() :
        myIsSet(Standard_False),
        myFirstCompare(Standard_True),
+       myFirstTrans(Standard_True),
+       myParam(0.0),
+       myTolerance(0.0),
+       myClosest(0),
        myState(TopAbs_UNKNOWN),      // skv OCC12627
        myIsHeadOrEnd(Standard_False) // skv OCC12627
 {
index 60b24e796ff933ac534309c41f7575961ee1dd8d..1b316c7a10e3d76604aa460039c94ba64864df73 100644 (file)
 // commercial license or contractual agreement.
 
 //======================================================================
-TopClass_Classifier3d::TopClass_Classifier3d() : isSet(Standard_False)
+TopClass_Classifier3d::TopClass_Classifier3d()
+: isSet(Standard_False),
+  myParam(0.0),
+  myTolerance(0.0),
+  myState(TopAbs_UNKNOWN),
+  hasIntersect(Standard_False)
 {
 }
 
index c94128bd8b37185b21d1253cc8b5194609c8b355..8584168d369fade0097691121ed0be7921e9a7c0 100644 (file)
 //=======================================================================
 
 TopTrans_CurveTransition::TopTrans_CurveTransition ()
+: myCurv(0.0),
+  Init(Standard_False),
+  CurvFirst(0.0),
+  CurvLast(0.0)
 {
 }
 
index 7522542ff622bd21c8cfb3322d73ace463d754cb..adbfec759526fe4b123da3052009f6697b4db985 100644 (file)
@@ -198,7 +198,11 @@ static Standard_Integer FUN_refnearest(const Standard_Integer i,
 // ============================================================
 
 TopTrans_SurfaceTransition::TopTrans_SurfaceTransition()
-: myAng(1,2,1,2),myCurv(1,2,1,2),myOri(1,2,1,2)
+: myCurvRef(0.0),
+  myAng(1, 2, 1, 2),
+  myCurv(1, 2, 1, 2),
+  myOri(1, 2, 1, 2),
+  myTouchFlag(Standard_False)
 {
   STATIC_DEFINED = Standard_False;
 }
index aaa1adc5a862dcbdcc8b451d35cd592ace1db438..6eec4d40a154888535ce7467b583b3e339ea6ebd 100644 (file)
@@ -42,6 +42,7 @@
 // Purpose :
 // ============================================================================
 TopoDSToStep_Builder::TopoDSToStep_Builder()
+: myError(TopoDSToStep_BuilderOther)
 {
   done = Standard_False;
 }
index 3f4b4154f65b5cee8c77fd458ced8c730d8c74d7..922c95313c17244901905abfa958179c1e914aae 100644 (file)
@@ -61,6 +61,7 @@
 // Constructors
 // ----------------------------------------------------------------------------
 TopoDSToStep_MakeStepEdge::TopoDSToStep_MakeStepEdge()
+: myError(TopoDSToStep_EdgeOther)
 {
   done = Standard_False;
 }
index 900e9b6ec719bceefeb1fc7c6593e6a93b32592a..e83bf18860f837b593d4ed25d59c0f4cb5f4c43d 100644 (file)
@@ -90,6 +90,7 @@
 // Constructors
 // ----------------------------------------------------------------------------
 TopoDSToStep_MakeStepFace::TopoDSToStep_MakeStepFace()
+: myError(TopoDSToStep_FaceOther)
 {
   done = Standard_False;
 }
index a7728906c2758334c3148ea3452867281db174c7..24896e4fff6ee12c036dee65b7e2c253ae0d9423 100644 (file)
@@ -36,6 +36,7 @@
 // Constructors
 // ----------------------------------------------------------------------------
 TopoDSToStep_MakeStepVertex::TopoDSToStep_MakeStepVertex()
+: myError(TopoDSToStep_VertexOther)
 {
   done = Standard_False;
 }
index 1a7cfc33eaba185d104907c19d2f9fd7dd397929..b5176d2d7f482277751bf9a611979f51f74b46fd 100644 (file)
@@ -52,6 +52,7 @@
 // Constructors
 // ----------------------------------------------------------------------------
 TopoDSToStep_MakeStepWire::TopoDSToStep_MakeStepWire()
+: myError(TopoDSToStep_WireOther)
 {
   done = Standard_False;
 }
index 8dc10b703e15bca1c3584fece7e7d5d0ea060f9e..8158038100d91619b30ff03f31b8ab9cac8a094c 100644 (file)
@@ -31,7 +31,7 @@
 //purpose  : 
 //=======================================================================
 TopoDSToStep_Tool::TopoDSToStep_Tool()
-     :myLowestTol(0.),myReversedSurface (Standard_False)
+     : myFacetedContext(Standard_False), myLowestTol(0.),myReversedSurface (Standard_False)
 {
   myPCurveMode = Interface_Static::IVal("write.surfacecurve.mode");
 }
index 67defcd26fa217f7683272611bb92649942b222b..c46ad6fb4863efdc07f5ded59bd2711442148553 100644 (file)
@@ -69,6 +69,7 @@
 // Purpose :
 // ============================================================================
 TopoDSToStep_WireframeBuilder::TopoDSToStep_WireframeBuilder()
+: myError(TopoDSToStep_BuilderOther)
 {
   done = Standard_False;
 }
index c301569fa307a96076ea7f42ec4e434247e6cb2d..14e399d2e4a35f95dde6289c157aa077b96c4d87 100644 (file)
@@ -46,7 +46,8 @@ Units_ShiftedUnit::Units_ShiftedUnit(const Standard_CString aname,
 
 Units_ShiftedUnit::Units_ShiftedUnit(const Standard_CString aname,
                                     const Standard_CString asymbol)
-     : Units_Unit(aname,asymbol)
+     : Units_Unit(aname,asymbol),
+       themove(0.0)
 {}
 
 //=======================================================================
@@ -55,7 +56,8 @@ Units_ShiftedUnit::Units_ShiftedUnit(const Standard_CString aname,
 //=======================================================================
 
 Units_ShiftedUnit::Units_ShiftedUnit(const Standard_CString aname)
-     : Units_Unit(aname)
+     : Units_Unit(aname),
+       themove(0.0)
 {}
 
 //=======================================================================
index 0c3361e82c38a3a81634f28c3d0957b08b67c93b..f07ec4561352757b94044658f3789b6f02b43c1b 100644 (file)
@@ -61,7 +61,9 @@ class VrmlData_ShapeConvert
   inline VrmlData_ShapeConvert (VrmlData_Scene&     theScene,
                                 const Standard_Real theScale = 1.)
     : myScene (theScene),
-      myScale (theScale)
+      myScale (theScale),
+      myDeflection(0.0),
+      myDeflAngle(0.0)
   {}
 
   /**
index 52ec6cbaca62efe16a9d30cfe15708bee9812432..c84f58aa10b5b95ceb692dd875d29cc61b03288f 100644 (file)
@@ -29,7 +29,10 @@ class VrmlData_TextureTransform : public VrmlData_Node
   /**
    * Empty constructor
    */
-  inline VrmlData_TextureTransform () {}
+  inline VrmlData_TextureTransform ()
+  : myRotation(0.0)
+  {
+  }
 
   /**
    * Constructor