diff --git a/src/BRepAdaptor/BRepAdaptor_CompCurve.cxx b/src/BRepAdaptor/BRepAdaptor_CompCurve.cxx index e4068ac95c..62b6d30b9b 100644 --- a/src/BRepAdaptor/BRepAdaptor_CompCurve.cxx +++ b/src/BRepAdaptor/BRepAdaptor_CompCurve.cxx @@ -46,9 +46,11 @@ BRepAdaptor_CompCurve::BRepAdaptor_CompCurve() : TFirst (0.0), TLast (0.0), PTol (0.0), + myPeriod(0.0), CurIndex(-1), Forward (Standard_False), - IsbyAC (Standard_False) + IsbyAC (Standard_False), + Periodic(Standard_False) { } @@ -58,9 +60,11 @@ BRepAdaptor_CompCurve::BRepAdaptor_CompCurve(const TopoDS_Wire& theWire, TFirst (0.0), TLast (0.0), PTol (0.0), + myPeriod(0.0), CurIndex(-1), Forward (Standard_False), - IsbyAC (theIsAC) + IsbyAC (theIsAC), + Periodic(Standard_False) { Initialize(theWire, theIsAC); } @@ -74,9 +78,11 @@ BRepAdaptor_CompCurve::BRepAdaptor_CompCurve(const TopoDS_Wire& theWire, TFirst (theFirst), TLast (theLast), PTol (theTolerance), + myPeriod(0.0), CurIndex(-1), Forward (Standard_False), - IsbyAC (theIsAC) + IsbyAC (theIsAC), + Periodic(Standard_False) { Initialize(theWire, theIsAC, theFirst, theLast, theTolerance); } diff --git a/src/BRepAdaptor/BRepAdaptor_CompCurve.hxx b/src/BRepAdaptor/BRepAdaptor_CompCurve.hxx index e009fea951..f3b4b2c46c 100644 --- a/src/BRepAdaptor/BRepAdaptor_CompCurve.hxx +++ b/src/BRepAdaptor/BRepAdaptor_CompCurve.hxx @@ -199,11 +199,15 @@ private: Standard_Real TFirst; Standard_Real TLast; Standard_Real PTol; + Standard_Real myPeriod; Handle(BRepAdaptor_HArray1OfCurve) myCurves; Handle(TColStd_HArray1OfReal) myKnots; Standard_Integer CurIndex; Standard_Boolean Forward; Standard_Boolean IsbyAC; + Standard_Boolean Periodic; + + };