![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Static utility class providing approximation algorithms for helix curves. More...
#include <HelixGeom_Tools.hxx>
Static Public Member Functions | |
| static int | ApprHelix (const double aT1, const double aT2, const double aPitch, const double aRStart, const double aTaperAngle, const bool aIsCW, const double aTol, occ::handle< Geom_BSplineCurve > &theBSpl, double &theMaxError) |
| Approximates a parametric helix curve using B-spline representation. | |
| static int | ApprCurve3D (const occ::handle< Adaptor3d_Curve > &theHC, const double theTol, const GeomAbs_Shape theCont, const int theMaxSeg, const int theMaxDeg, occ::handle< Geom_BSplineCurve > &theBSpl, double &theMaxError) |
| Approximates a generic 3D curve using B-spline representation. | |
Static utility class providing approximation algorithms for helix curves.
This class contains static methods for:
The approximation algorithms use advanced techniques to ensure:
|
static |
Approximates a generic 3D curve using B-spline representation.
| theHC | [in] Handle to the curve adaptor to approximate |
| theTol | [in] Approximation tolerance |
| theCont | [in] Required continuity (C0, C1, C2) |
| theMaxSeg | [in] Maximum number of curve segments |
| theMaxDeg | [in] Maximum degree of B-spline curve |
| theBSpl | [out] Resulting B-spline curve |
| theMaxError | [out] Maximum approximation error achieved |
|
static |
Approximates a parametric helix curve using B-spline representation.
| aT1 | [in] Start parameter (angular position in radians) |
| aT2 | [in] End parameter (angular position in radians) |
| aPitch | [in] Helix pitch (vertical distance per 2*PI radians) |
| aRStart | [in] Starting radius at parameter aT1 |
| aTaperAngle | [in] Taper angle in radians (0 = cylindrical helix) |
| aIsCW | [in] True for clockwise, false for counter-clockwise |
| aTol | [in] Approximation tolerance |
| theBSpl | [out] Resulting B-spline curve |
| theMaxError | [out] Maximum approximation error achieved |