]> OCCT Git - occt-copy.git/commitdiff
# 257 Error in D1 calculation using BRepAdaptor_CompCurve using the last parameter...
authorgka <gka@opencascade.com>
Mon, 17 Feb 2020 10:06:57 +0000 (13:06 +0300)
committergka <gka@opencascade.com>
Mon, 17 Feb 2020 10:15:35 +0000 (13:15 +0300)
Modifications from archive "patch_720_new.7z"

src/BRepAdaptor/BRepAdaptor_CompCurve.cxx
src/BRepAdaptor/BRepAdaptor_CompCurve.hxx

index e4068ac95c6912fbd4baee905e6879fe8faea9d1..62b6d30b9b98f6fcca773da824462ddddb60611a 100644 (file)
@@ -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);
 }
index e009fea951f00ee53d42516c1c48548080374bdf..f3b4b2c46c8135f58deb2244a961152b6ec57fb5 100644 (file)
@@ -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;
+
+
 };