![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Efficient batch evaluator for B-spline surface points. More...
#include <GeomGridEval_BSplineSurface.hxx>
Efficient batch evaluator for B-spline surface points.
Stateless evaluator - constructor takes geometry, parameters passed to methods.
Optimizes evaluation by:
Usage:
|
inline |
Constructor with geometry.
| theSurface | the B-spline surface to evaluate |
|
delete |
Non-copyable and non-movable.
|
delete |
| NCollection_Array2< gp_Pnt > GeomGridEval_BSplineSurface::EvaluateGrid | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate grid points at Cartesian product of U and V parameters. Points are evaluated in span-grouped order to minimize cache rebuilds.
| theUParams | array of U parameter values |
| theVParams | array of V parameter values |
| NCollection_Array2< GeomGridEval::SurfD1 > GeomGridEval_BSplineSurface::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 |
| theVParams | array of V parameter values |
| NCollection_Array2< GeomGridEval::SurfD2 > GeomGridEval_BSplineSurface::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 |
| theVParams | array of V parameter values |
| NCollection_Array2< GeomGridEval::SurfD3 > GeomGridEval_BSplineSurface::EvaluateGridD3 | ( | const NCollection_Array1< double > & | theUParams, |
| const NCollection_Array1< double > & | theVParams ) const |
Evaluate grid points with derivatives up to third order. Uses direct BSplSLib::D3 evaluation (no caching for D3).
| theUParams | array of U parameter values |
| theVParams | array of V parameter values |
| NCollection_Array2< gp_Vec > GeomGridEval_BSplineSurface::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 > degree in either direction, returns zero. Uses direct geometry DN method.
| theUParams | array of U parameter values |
| theVParams | array of V parameter values |
| theNU | derivative order in U direction |
| theNV | derivative order in V direction |
|
inline |
Returns the geometry handle.
|
delete |
|
delete |