|
Open CASCADE Technology
7.8.0.dev
|
Computes a set of points on a curve from package Adaptor3d such as between two successive points P1(u1)and P2(u2) : More...
#include <GCPnts_TangentialDeflection.hxx>
Public Member Functions | |
| GCPnts_TangentialDeflection () | |
| Empty constructor. More... | |
| GCPnts_TangentialDeflection (const Adaptor3d_Curve &theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) | |
| Constructor for 3D curve. More... | |
| GCPnts_TangentialDeflection (const Adaptor3d_Curve &theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) | |
| Constructor for 3D curve with restricted range. More... | |
| GCPnts_TangentialDeflection (const Adaptor2d_Curve2d &theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) | |
| Constructor for 2D curve. More... | |
| GCPnts_TangentialDeflection (const Adaptor2d_Curve2d &theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) | |
| Constructor for 2D curve with restricted range. More... | |
| void | Initialize (const Adaptor3d_Curve &theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) |
| Initialize algorithm for 3D curve. More... | |
| void | Initialize (const Adaptor3d_Curve &theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) |
| Initialize algorithm for 3D curve with restricted range. More... | |
| void | Initialize (const Adaptor2d_Curve2d &theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) |
| Initialize algorithm for 2D curve. More... | |
| void | Initialize (const Adaptor2d_Curve2d &theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints=2, const Standard_Real theUTol=1.0e-9, const Standard_Real theMinLen=1.0e-7) |
| Initialize algorithm for 2D curve with restricted range. More... | |
| Standard_Integer | AddPoint (const gp_Pnt &thePnt, const Standard_Real theParam, const Standard_Boolean theIsReplace=Standard_True) |
| Add point to already calculated points (or replace existing) Returns index of new added point or founded with parametric tolerance (replaced if theIsReplace is true) More... | |
| Standard_Integer | NbPoints () const |
| Standard_Real | Parameter (const Standard_Integer I) const |
| gp_Pnt | Value (const Standard_Integer I) const |
Static Public Member Functions | |
| static Standard_Real | ArcAngularStep (const Standard_Real theRadius, const Standard_Real theLinearDeflection, const Standard_Real theAngularDeflection, const Standard_Real theMinLength) |
| Computes angular step for the arc using the given parameters. More... | |
Computes a set of points on a curve from package Adaptor3d such as between two successive points P1(u1)and P2(u2) :
where P3 is the point of abscissa ((u1+u2)/2), with u1 the abscissa of the point P1 and u2 the abscissa of the point P2.
^ is the cross product of two vectors, and ||P1P2|| the magnitude of the vector P1P2.
The conditions AngularDeflection > gp::Resolution() and CurvatureDeflection > gp::Resolution() must be satisfied at the construction time.
A minimum number of points can be fixed for a linear or circular element. Example:
| GCPnts_TangentialDeflection::GCPnts_TangentialDeflection | ( | ) |
Empty constructor.
| GCPnts_TangentialDeflection::GCPnts_TangentialDeflection | ( | const Adaptor3d_Curve & | theC, |
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Constructor for 3D curve.
| theC | [in] 3d curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| GCPnts_TangentialDeflection::GCPnts_TangentialDeflection | ( | const Adaptor3d_Curve & | theC, |
| const Standard_Real | theFirstParameter, | ||
| const Standard_Real | theLastParameter, | ||
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Constructor for 3D curve with restricted range.
| theC | [in] 3d curve |
| theFirstParameter | [in] first parameter on curve |
| theLastParameter | [in] last parameter on curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTo | l [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| GCPnts_TangentialDeflection::GCPnts_TangentialDeflection | ( | const Adaptor2d_Curve2d & | theC, |
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Constructor for 2D curve.
| theC | [in] 2d curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| GCPnts_TangentialDeflection::GCPnts_TangentialDeflection | ( | const Adaptor2d_Curve2d & | theC, |
| const Standard_Real | theFirstParameter, | ||
| const Standard_Real | theLastParameter, | ||
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Constructor for 2D curve with restricted range.
| theC | [in] 2d curve |
| theFirstParameter | [in] first parameter on curve |
| theLastParameter | [in] last parameter on curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| Standard_Integer GCPnts_TangentialDeflection::AddPoint | ( | const gp_Pnt & | thePnt, |
| const Standard_Real | theParam, | ||
| const Standard_Boolean | theIsReplace = Standard_True |
||
| ) |
Add point to already calculated points (or replace existing) Returns index of new added point or founded with parametric tolerance (replaced if theIsReplace is true)
|
static |
Computes angular step for the arc using the given parameters.
| void GCPnts_TangentialDeflection::Initialize | ( | const Adaptor3d_Curve & | theC, |
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Initialize algorithm for 3D curve.
| theC | [in] 3d curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| void GCPnts_TangentialDeflection::Initialize | ( | const Adaptor3d_Curve & | theC, |
| const Standard_Real | theFirstParameter, | ||
| const Standard_Real | theLastParameter, | ||
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Initialize algorithm for 3D curve with restricted range.
| theC | [in] 3d curve |
| theFirstParameter | [in] first parameter on curve |
| theLastParameter | [in] last parameter on curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| void GCPnts_TangentialDeflection::Initialize | ( | const Adaptor2d_Curve2d & | theC, |
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Initialize algorithm for 2D curve.
| theC | [in] 2d curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
| void GCPnts_TangentialDeflection::Initialize | ( | const Adaptor2d_Curve2d & | theC, |
| const Standard_Real | theFirstParameter, | ||
| const Standard_Real | theLastParameter, | ||
| const Standard_Real | theAngularDeflection, | ||
| const Standard_Real | theCurvatureDeflection, | ||
| const Standard_Integer | theMinimumOfPoints = 2, |
||
| const Standard_Real | theUTol = 1.0e-9, |
||
| const Standard_Real | theMinLen = 1.0e-7 |
||
| ) |
Initialize algorithm for 2D curve with restricted range.
| theC | [in] 2d curve |
| theFirstParameter | [in] first parameter on curve |
| theLastParameter | [in] last parameter on curve |
| theAngularDeflection | [in] angular deflection in radians |
| theCurvatureDeflection | [in] linear deflection |
| theMinimumOfPoints | [in] minimum number of points |
| theUTol | [in] tolerance in curve parametric scope |
| theMinLen | [in] minimal length |
|
inline |
|
inline |
|
inline |
1.8.13