![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Base class for helix curve approximation algorithms. More...
#include <HelixGeom_BuilderApproxCurve.hxx>

Public Member Functions | |
| void | SetApproxParameters (const GeomAbs_Shape aCont, const int aMaxDegree, const int aMaxSeg) |
| Sets approximation parameters. | |
| void | ApproxParameters (GeomAbs_Shape &aCont, int &aMaxDegree, int &aMaxSeg) const |
| Gets approximation parameters. | |
| void | SetTolerance (const double aTolerance) |
| Sets approximation tolerance. | |
| double | Tolerance () const |
| Gets approximation tolerance. | |
| double | ToleranceReached () const |
| Gets actual tolerance reached by approximation algorithm. | |
| const NCollection_Sequence< occ::handle< Geom_Curve > > & | Curves () const |
| Gets sequence of BSpline curves representing helix coils. | |
| int | ErrorStatus () const |
| Returns error status of algorithm. | |
| int | WarningStatus () const |
| Returns warning status of algorithm. | |
| virtual void | Perform ()=0 |
| Performs calculations. Must be redefined. | |
Protected Member Functions | |
| HelixGeom_BuilderApproxCurve () | |
| Sets default values of approximation parameters. | |
| virtual | ~HelixGeom_BuilderApproxCurve () |
Protected Attributes | |
| int | myErrorStatus |
| int | myWarningStatus |
| double | myTolerance |
| GeomAbs_Shape | myCont |
| int | myMaxDegree |
| int | myMaxSeg |
| double | myTolReached |
| NCollection_Sequence< occ::handle< Geom_Curve > > | myCurves |
Base class for helix curve approximation algorithms.
This abstract class provides common functionality for approximating parametric helix curves using B-spline curves. It manages:
Derived classes must implement the Perform() method to execute the specific approximation algorithm.
|
protected |
Sets default values of approximation parameters.
|
protectedvirtual |
| void HelixGeom_BuilderApproxCurve::ApproxParameters | ( | GeomAbs_Shape & | aCont, |
| int & | aMaxDegree, | ||
| int & | aMaxSeg ) const |
Gets approximation parameters.
| const NCollection_Sequence< occ::handle< Geom_Curve > > & HelixGeom_BuilderApproxCurve::Curves | ( | ) | const |
Gets sequence of BSpline curves representing helix coils.
| int HelixGeom_BuilderApproxCurve::ErrorStatus | ( | ) | const |
Returns error status of algorithm.
Performs calculations. Must be redefined.
Implemented in HelixGeom_BuilderHelix, and HelixGeom_BuilderHelixCoil.
| void HelixGeom_BuilderApproxCurve::SetApproxParameters | ( | const GeomAbs_Shape | aCont, |
| const int | aMaxDegree, | ||
| const int | aMaxSeg ) |
Sets approximation parameters.
Sets approximation tolerance.
| double HelixGeom_BuilderApproxCurve::Tolerance | ( | ) | const |
Gets approximation tolerance.
| double HelixGeom_BuilderApproxCurve::ToleranceReached | ( | ) | const |
Gets actual tolerance reached by approximation algorithm.
| int HelixGeom_BuilderApproxCurve::WarningStatus | ( | ) | const |
Returns warning status of algorithm.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |