Efficient batch evaluator for 2D circle grid points.
More...
#include <Geom2dGridEval_Circle.hxx>
Efficient batch evaluator for 2D circle grid points.
Uses analytical formula: P(u) = Center + R * (cos(u) * XDir + sin(u) * YDir)
Usage:
Efficient batch evaluator for 2D circle grid points.
Definition Geom2dGridEval_Circle.hxx:33
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
◆ Geom2dGridEval_Circle() [1/3]
Constructor with geometry.
- Parameters
-
| theCircle | the 2D circle geometry to evaluate |
◆ Geom2dGridEval_Circle() [2/3]
Non-copyable and non-movable.
◆ Geom2dGridEval_Circle() [3/3]
◆ EvaluateGrid()
Evaluate all grid points.
- Parameters
-
| theParams | array of parameter values (angles in radians) |
- 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. D1 = R * (-sin(u) * XDir + cos(u) * YDir)
- 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. D2 = R * (-cos(u) * XDir - sin(u) * YDir) = -P (relative to center)
- 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. D3 = R * (sin(u) * XDir - cos(u) * YDir) = -D1.
- 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. Circle has cyclic derivatives with period 4: D1 = R * (-sin(u) * X + cos(u) * Y) D2 = R * (-cos(u) * X - sin(u) * Y) D3 = R * (sin(u) * X - cos(u) * Y) D4 = R * (cos(u) * X + 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: