Open CASCADE Technology
6.9.0
|
#include <Approx_FitAndDivide.hxx>
Public Member Functions | |
Approx_FitAndDivide (const AppCont_Function &Line, const Standard_Integer degreemin=3, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-5, const Standard_Real Tolerance2d=1.0e-5, const Standard_Boolean cutting=Standard_False, const AppParCurves_Constraint FirstC=AppParCurves_TangencyPoint, const AppParCurves_Constraint LastC=AppParCurves_TangencyPoint) | |
Approx_FitAndDivide (const Standard_Integer degreemin=3, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-05, const Standard_Real Tolerance2d=1.0e-05, const Standard_Boolean cutting=Standard_False, const AppParCurves_Constraint FirstC=AppParCurves_TangencyPoint, const AppParCurves_Constraint LastC=AppParCurves_TangencyPoint) | |
void | Perform (const AppCont_Function &Line) |
void | SetDegrees (const Standard_Integer degreemin, const Standard_Integer degreemax) |
void | SetTolerances (const Standard_Real Tolerance3d, const Standard_Real Tolerance2d) |
void | SetConstraints (const AppParCurves_Constraint FirstC, const AppParCurves_Constraint LastC) |
Standard_Boolean | IsAllApproximated () const |
Standard_Boolean | IsToleranceReached () const |
void | Error (const Standard_Integer Index, Standard_Real &tol3d, Standard_Real &tol2d) const |
Standard_Integer | NbMultiCurves () const |
AppParCurves_MultiCurve | Value (const Standard_Integer Index=1) const |
void | Parameters (const Standard_Integer Index, Standard_Real &firstp, Standard_Real &lastp) const |
Approx_FitAndDivide::Approx_FitAndDivide | ( | const AppCont_Function & | Line, |
const Standard_Integer | degreemin = 3 , |
||
const Standard_Integer | degreemax = 8 , |
||
const Standard_Real | Tolerance3d = 1.0e-5 , |
||
const Standard_Real | Tolerance2d = 1.0e-5 , |
||
const Standard_Boolean | cutting = Standard_False , |
||
const AppParCurves_Constraint | FirstC = AppParCurves_TangencyPoint , |
||
const AppParCurves_Constraint | LastC = AppParCurves_TangencyPoint |
||
) |
Approx_FitAndDivide::Approx_FitAndDivide | ( | const Standard_Integer | degreemin = 3 , |
const Standard_Integer | degreemax = 8 , |
||
const Standard_Real | Tolerance3d = 1.0e-05 , |
||
const Standard_Real | Tolerance2d = 1.0e-05 , |
||
const Standard_Boolean | cutting = Standard_False , |
||
const AppParCurves_Constraint | FirstC = AppParCurves_TangencyPoint , |
||
const AppParCurves_Constraint | LastC = AppParCurves_TangencyPoint |
||
) |
void Approx_FitAndDivide::Error | ( | const Standard_Integer | Index, |
Standard_Real & | tol3d, | ||
Standard_Real & | tol2d | ||
) | const |
Standard_Boolean Approx_FitAndDivide::IsAllApproximated | ( | ) | const |
Standard_Boolean Approx_FitAndDivide::IsToleranceReached | ( | ) | const |
Standard_Integer Approx_FitAndDivide::NbMultiCurves | ( | ) | const |
void Approx_FitAndDivide::Parameters | ( | const Standard_Integer | Index, |
Standard_Real & | firstp, | ||
Standard_Real & | lastp | ||
) | const |
void Approx_FitAndDivide::Perform | ( | const AppCont_Function & | Line | ) |
void Approx_FitAndDivide::SetConstraints | ( | const AppParCurves_Constraint | FirstC, |
const AppParCurves_Constraint | LastC | ||
) |
void Approx_FitAndDivide::SetDegrees | ( | const Standard_Integer | degreemin, |
const Standard_Integer | degreemax | ||
) |
void Approx_FitAndDivide::SetTolerances | ( | const Standard_Real | Tolerance3d, |
const Standard_Real | Tolerance2d | ||
) |
AppParCurves_MultiCurve Approx_FitAndDivide::Value | ( | const Standard_Integer | Index = 1 | ) | const |