mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
# 257 Error in D1 calculation using BRepAdaptor_CompCurve using the last parameter. In OCCT7
Modifications from archive "patch_720_new.7z"
This commit is contained in:
parent
70608ec03d
commit
4dd6fb9a80
@ -46,9 +46,11 @@ BRepAdaptor_CompCurve::BRepAdaptor_CompCurve()
|
|||||||
: TFirst (0.0),
|
: TFirst (0.0),
|
||||||
TLast (0.0),
|
TLast (0.0),
|
||||||
PTol (0.0),
|
PTol (0.0),
|
||||||
|
myPeriod(0.0),
|
||||||
CurIndex(-1),
|
CurIndex(-1),
|
||||||
Forward (Standard_False),
|
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),
|
TFirst (0.0),
|
||||||
TLast (0.0),
|
TLast (0.0),
|
||||||
PTol (0.0),
|
PTol (0.0),
|
||||||
|
myPeriod(0.0),
|
||||||
CurIndex(-1),
|
CurIndex(-1),
|
||||||
Forward (Standard_False),
|
Forward (Standard_False),
|
||||||
IsbyAC (theIsAC)
|
IsbyAC (theIsAC),
|
||||||
|
Periodic(Standard_False)
|
||||||
{
|
{
|
||||||
Initialize(theWire, theIsAC);
|
Initialize(theWire, theIsAC);
|
||||||
}
|
}
|
||||||
@ -74,9 +78,11 @@ BRepAdaptor_CompCurve::BRepAdaptor_CompCurve(const TopoDS_Wire& theWire,
|
|||||||
TFirst (theFirst),
|
TFirst (theFirst),
|
||||||
TLast (theLast),
|
TLast (theLast),
|
||||||
PTol (theTolerance),
|
PTol (theTolerance),
|
||||||
|
myPeriod(0.0),
|
||||||
CurIndex(-1),
|
CurIndex(-1),
|
||||||
Forward (Standard_False),
|
Forward (Standard_False),
|
||||||
IsbyAC (theIsAC)
|
IsbyAC (theIsAC),
|
||||||
|
Periodic(Standard_False)
|
||||||
{
|
{
|
||||||
Initialize(theWire, theIsAC, theFirst, theLast, theTolerance);
|
Initialize(theWire, theIsAC, theFirst, theLast, theTolerance);
|
||||||
}
|
}
|
||||||
|
@ -199,11 +199,15 @@ private:
|
|||||||
Standard_Real TFirst;
|
Standard_Real TFirst;
|
||||||
Standard_Real TLast;
|
Standard_Real TLast;
|
||||||
Standard_Real PTol;
|
Standard_Real PTol;
|
||||||
|
Standard_Real myPeriod;
|
||||||
Handle(BRepAdaptor_HArray1OfCurve) myCurves;
|
Handle(BRepAdaptor_HArray1OfCurve) myCurves;
|
||||||
Handle(TColStd_HArray1OfReal) myKnots;
|
Handle(TColStd_HArray1OfReal) myKnots;
|
||||||
Standard_Integer CurIndex;
|
Standard_Integer CurIndex;
|
||||||
Standard_Boolean Forward;
|
Standard_Boolean Forward;
|
||||||
Standard_Boolean IsbyAC;
|
Standard_Boolean IsbyAC;
|
||||||
|
Standard_Boolean Periodic;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user