Efficient batch evaluator for 2D ellipse grid points.
More...
#include <Geom2dGridEval_Ellipse.hxx>
Efficient batch evaluator for 2D ellipse grid points.
Uses analytical formula: P(u) = Center + MajorRadius * cos(u) * XDir + MinorRadius * sin(u) * YDir
Usage:
Efficient batch evaluator for 2D ellipse grid points.
Definition Geom2dGridEval_Ellipse.hxx:34
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
◆ Geom2dGridEval_Ellipse() [1/3]
Constructor with geometry.
- Parameters
-
| theEllipse | the 2D ellipse geometry to evaluate |
◆ Geom2dGridEval_Ellipse() [2/3]
Non-copyable and non-movable.
◆ Geom2dGridEval_Ellipse() [3/3]
◆ EvaluateGrid()
Evaluate all grid points.
- Parameters
-
| theParams | array of parameter values |
- Returns
- array of evaluated points (1-based indexing), or empty array if geometry is null or no parameters
◆ EvaluateGridD1()
Evaluate all grid points with first derivative.
- Parameters
-
| theParams | array of parameter values |
- Returns
- array of CurveD1 (1-based indexing), or empty array if geometry is null or no parameters
◆ EvaluateGridD2()
Evaluate all grid points with first and second derivatives.
- Parameters
-
| theParams | array of parameter values |
- Returns
- array of CurveD2 (1-based indexing), or empty array if geometry is null or no parameters
◆ EvaluateGridD3()
Evaluate all grid points with first, second, and third derivatives.
- Parameters
-
| theParams | array of parameter values |
- Returns
- array of CurveD3 (1-based indexing), or empty array if geometry is null or no parameters
◆ EvaluateGridDN()
Evaluate Nth derivative at all grid points. Ellipse has cyclic derivatives with period 4: D1 = -MajR * sin(u) * X + MinR * cos(u) * Y D2 = -MajR * cos(u) * X - MinR * sin(u) * Y D3 = MajR * sin(u) * X - MinR * cos(u) * Y D4 = MajR * cos(u) * X + MinR * sin(u) * Y = D0, then repeats.
- Parameters
-
| theParams | array of parameter values |
| theN | derivative order (N >= 1) |
- Returns
- array of derivative vectors (1-based indexing), or empty array if geometry is null or no parameters
◆ Geometry()
Returns the geometry handle.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: