Efficient batch evaluator for cylinder grid points.
More...
#include <GeomGridEval_Cylinder.hxx>
Efficient batch evaluator for cylinder grid points.
Uses analytical formula: P(u,v) = Location + R * (cos(u) * XDir + sin(u) * YDir) + v * ZDir
Where U is angle (0 to 2*PI) and V is height.
Usage:
GeomGridEval_Cylinder(const occ::handle< Geom_CylindricalSurface > &theCylinder)
Constructor with geometry.
Definition GeomGridEval_Cylinder.hxx:43
Definition NCollection_Array2.hxx:52
◆ GeomGridEval_Cylinder() [1/3]
Constructor with geometry.
- Parameters
-
| theCylinder | the cylindrical surface geometry to evaluate |
◆ GeomGridEval_Cylinder() [2/3]
Non-copyable and non-movable.
◆ GeomGridEval_Cylinder() [3/3]
◆ EvaluateGrid()
Evaluate grid points at Cartesian product of U and V parameters.
- Parameters
-
| theUParams | array of U parameter values (angle) |
| theVParams | array of V parameter values (height) |
- Returns
- 2D array of evaluated points (1-based indexing)
◆ EvaluateGridD1()
Evaluate grid points with first partial derivatives.
- Parameters
-
| theUParams | array of U parameter values (angle) |
| theVParams | array of V parameter values (height) |
- Returns
- 2D array of SurfD1 (1-based indexing)
◆ EvaluateGridD2()
Evaluate grid points with first and second partial derivatives.
- Parameters
-
| theUParams | array of U parameter values (angle) |
| theVParams | array of V parameter values (height) |
- Returns
- 2D array of SurfD2 (1-based indexing)
◆ EvaluateGridD3()
Evaluate grid points with derivatives up to third order.
- Parameters
-
| theUParams | array of U parameter values (angle) |
| theVParams | array of V parameter values (height) |
- Returns
- 2D array of SurfD3 (1-based indexing)
◆ EvaluateGridDN()
Evaluate partial derivative d^(NU+NV)S/(dU^NU dV^NV) at all grid points. For a cylinder:
- U derivatives are cyclic (period 4): D_nU = R * (cyclic trig)
- V derivatives: D1V = ZDir, higher = 0
- Mixed: D_{nu,nv} = 0 for nv > 1
- Parameters
-
| theUParams | array of U parameter values (angle) |
| theVParams | array of V parameter values (height) |
| theNU | derivative order in U direction |
| theNV | derivative order in V direction |
- Returns
- 2D array of derivative vectors (1-based indexing)
◆ Geometry()
Returns the geometry handle.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: