![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Optimized batch evaluator for revolution surface grid points. More...
#include <GeomGridEval_SurfaceOfRevolution.hxx>
Optimized batch evaluator for revolution surface grid points.
Evaluates the revolution surface formula: S(u, v) = Rotation(u, Axis) * C(v)
Where:
Optimization: Uses GeomGridEval_Curve for batch evaluation of the basis curve, then applies rotation transformations. Precomputes sin/cos values for each U parameter.
Mathematical formulas for derivatives:
Usage:
| GeomGridEval_SurfaceOfRevolution::GeomGridEval_SurfaceOfRevolution | ( | const occ::handle< Geom_SurfaceOfRevolution > & | theRevolution | ) |
Constructor with geometry.
| theRevolution | the revolution surface geometry to evaluate |
|
delete |
Non-copyable and non-movable.
|
delete |
| NCollection_Array2< gp_Pnt > GeomGridEval_SurfaceOfRevolution::EvaluateGrid | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate all grid points.
| [in] | theUParams | array of U parameter values (rotation angle) |
| [in] | theVParams | array of V parameter values (curve parameter) |
| NCollection_Array2< GeomGridEval::SurfD1 > GeomGridEval_SurfaceOfRevolution::EvaluateGridD1 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate all grid points with first partial derivatives.
| [in] | theUParams | array of U parameter values (rotation angle) |
| [in] | theVParams | array of V parameter values (curve parameter) |
| NCollection_Array2< GeomGridEval::SurfD2 > GeomGridEval_SurfaceOfRevolution::EvaluateGridD2 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate all grid points with first and second partial derivatives.
| [in] | theUParams | array of U parameter values (rotation angle) |
| [in] | theVParams | array of V parameter values (curve parameter) |
| NCollection_Array2< GeomGridEval::SurfD3 > GeomGridEval_SurfaceOfRevolution::EvaluateGridD3 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate all grid points with derivatives up to third order.
| [in] | theUParams | array of U parameter values (rotation angle) |
| [in] | theVParams | array of V parameter values (curve parameter) |
| NCollection_Array2< gp_Vec > GeomGridEval_SurfaceOfRevolution::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.
| [in] | theUParams | array of U parameter values (rotation angle) |
| [in] | theVParams | array of V parameter values (curve parameter) |
| [in] | theNU | derivative order in U direction |
| [in] | theNV | derivative order in V direction |
|
inline |
Returns the geometry handle.
|
delete |
|
delete |