![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Batch evaluator for 2D offset curve grid points. More...
#include <Geom2dGridEval_OffsetCurve.hxx>
Public Member Functions | |
| Geom2dGridEval_OffsetCurve (const occ::handle< Geom2d_OffsetCurve > &theOffset) | |
| Constructor with geometry. | |
| Geom2dGridEval_OffsetCurve (const Geom2dGridEval_OffsetCurve &)=delete | |
| Non-copyable and non-movable. | |
| Geom2dGridEval_OffsetCurve & | operator= (const Geom2dGridEval_OffsetCurve &)=delete |
| Geom2dGridEval_OffsetCurve (Geom2dGridEval_OffsetCurve &&)=delete | |
| Geom2dGridEval_OffsetCurve & | operator= (Geom2dGridEval_OffsetCurve &&)=delete |
| const occ::handle< Geom2d_OffsetCurve > & | Geometry () const |
| Returns the geometry handle. | |
| NCollection_Array1< gp_Pnt2d > | EvaluateGrid (const NCollection_Array1< double > &theParams) const |
| Evaluate all grid points. | |
| NCollection_Array1< Geom2dGridEval::CurveD1 > | EvaluateGridD1 (const NCollection_Array1< double > &theParams) const |
| Evaluate all grid points with first derivative. | |
| NCollection_Array1< Geom2dGridEval::CurveD2 > | EvaluateGridD2 (const NCollection_Array1< double > &theParams) const |
| Evaluate all grid points with first and second derivatives. | |
| NCollection_Array1< Geom2dGridEval::CurveD3 > | EvaluateGridD3 (const NCollection_Array1< double > &theParams) const |
| Evaluate all grid points with derivatives up to third order. | |
| NCollection_Array1< gp_Vec2d > | EvaluateGridDN (const NCollection_Array1< double > &theParams, int theN) const |
| Evaluate Nth derivative at all grid points. For orders 1-3, reuses EvaluateGridD1/D2/D3. For orders > 3, uses basis curve DN method. | |
Batch evaluator for 2D offset curve grid points.
Evaluates the 2D offset curve formula: P(u) = C(u) + Offset * N / ||N|| where N = (D1.Y, -D1.X) is the normal (tangent rotated 90 degrees).
Uses Geom2dGridEval_Curve for batch evaluation of the basis curve, then applies offset transformation.
Usage:
|
inline |
Constructor with geometry.
| theOffset | the 2D offset curve geometry to evaluate |
|
delete |
Non-copyable and non-movable.
|
delete |
| NCollection_Array1< gp_Pnt2d > Geom2dGridEval_OffsetCurve::EvaluateGrid | ( | const NCollection_Array1< double > & | theParams | ) | const |
Evaluate all grid points.
| theParams | array of parameter values |
| NCollection_Array1< Geom2dGridEval::CurveD1 > Geom2dGridEval_OffsetCurve::EvaluateGridD1 | ( | const NCollection_Array1< double > & | theParams | ) | const |
Evaluate all grid points with first derivative.
| theParams | array of parameter values |
| NCollection_Array1< Geom2dGridEval::CurveD2 > Geom2dGridEval_OffsetCurve::EvaluateGridD2 | ( | const NCollection_Array1< double > & | theParams | ) | const |
Evaluate all grid points with first and second derivatives.
| theParams | array of parameter values |
| NCollection_Array1< Geom2dGridEval::CurveD3 > Geom2dGridEval_OffsetCurve::EvaluateGridD3 | ( | const NCollection_Array1< double > & | theParams | ) | const |
Evaluate all grid points with derivatives up to third order.
| theParams | array of parameter values |
| NCollection_Array1< gp_Vec2d > Geom2dGridEval_OffsetCurve::EvaluateGridDN | ( | const NCollection_Array1< double > & | theParams, |
| int | theN ) const |
Evaluate Nth derivative at all grid points. For orders 1-3, reuses EvaluateGridD1/D2/D3. For orders > 3, uses basis curve DN method.
| theParams | array of parameter values |
| theN | derivative order (N >= 1) |
|
inline |
Returns the geometry handle.
|
delete |
|
delete |