![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Efficient batch evaluator for sphere grid points. More...
#include <GeomGridEval_Sphere.hxx>
Efficient batch evaluator for sphere grid points.
Uses analytical formula: P(u,v) = Center + R * (cos(v) * cos(u) * XDir + cos(v) * sin(u) * YDir + sin(v) * ZDir)
Where U is longitude (0 to 2*PI) and V is latitude (-PI/2 to PI/2).
Usage:
|
inline |
Constructor with geometry.
| theSphere | the spherical surface geometry to evaluate |
|
delete |
Non-copyable and non-movable.
|
delete |
| NCollection_Array2< gp_Pnt > GeomGridEval_Sphere::EvaluateGrid | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate grid points at Cartesian product of U and V parameters.
| theUParams | array of U parameter values (longitude) |
| theVParams | array of V parameter values (latitude) |
| NCollection_Array2< GeomGridEval::SurfD1 > GeomGridEval_Sphere::EvaluateGridD1 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate grid points with first partial derivatives.
| theUParams | array of U parameter values (longitude) |
| theVParams | array of V parameter values (latitude) |
| NCollection_Array2< GeomGridEval::SurfD2 > GeomGridEval_Sphere::EvaluateGridD2 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate grid points with first and second partial derivatives.
| theUParams | array of U parameter values (longitude) |
| theVParams | array of V parameter values (latitude) |
| NCollection_Array2< GeomGridEval::SurfD3 > GeomGridEval_Sphere::EvaluateGridD3 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate grid points with derivatives up to third order.
| theUParams | array of U parameter values (longitude) |
| theVParams | array of V parameter values (latitude) |
| NCollection_Array2< gp_Vec > GeomGridEval_Sphere::EvaluateGridDN | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams, | ||
| int | theNU, | ||
| int | theNV ) const |
Evaluate partial derivative d^(NU+NV)S/(dU^NU dV^NV) at all grid points. For orders 1-3, reuses EvaluateGridD1/D2/D3. For orders > 3, uses geometry DN method.
| theUParams | array of U parameter values (longitude) |
| theVParams | array of V parameter values (latitude) |
| theNU | derivative order in U direction |
| theNV | derivative order in V direction |
|
inline |
Returns the geometry handle.
|
delete |
|
delete |