Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomGridEval_OtherSurface Class Reference

Fallback evaluator for any surface type. More...

#include <GeomGridEval_OtherSurface.hxx>

Public Member Functions

 GeomGridEval_OtherSurface (const Adaptor3d_Surface *theSurface)
 Constructor with surface adaptor pointer.
 
 GeomGridEval_OtherSurface (const occ::handle< Geom_Surface > &theSurface)
 Constructor with geometry handle.
 
 GeomGridEval_OtherSurface (const GeomGridEval_OtherSurface &)=delete
 Non-copyable and non-movable.
 
GeomGridEval_OtherSurfaceoperator= (const GeomGridEval_OtherSurface &)=delete
 
 GeomGridEval_OtherSurface (GeomGridEval_OtherSurface &&)=delete
 
GeomGridEval_OtherSurfaceoperator= (GeomGridEval_OtherSurface &&)=delete
 
NCollection_Array2< gp_PntEvaluateGrid (const NCollection_Array1< double > &theUParams, const NCollection_Array1< double > &theVParams) const
 Evaluate grid points at Cartesian product of U and V parameters.
 
NCollection_Array2< GeomGridEval::SurfD1EvaluateGridD1 (const NCollection_Array1< double > &theUParams, const NCollection_Array1< double > &theVParams) const
 Evaluate grid points with first partial derivatives.
 
NCollection_Array2< GeomGridEval::SurfD2EvaluateGridD2 (const NCollection_Array1< double > &theUParams, const NCollection_Array1< double > &theVParams) const
 Evaluate grid points with first and second partial derivatives.
 
NCollection_Array2< GeomGridEval::SurfD3EvaluateGridD3 (const NCollection_Array1< double > &theUParams, const NCollection_Array1< double > &theVParams) const
 Evaluate grid points with derivatives up to third order.
 
NCollection_Array2< gp_VecEvaluateGridDN (const NCollection_Array1< double > &theUParams, const NCollection_Array1< double > &theVParams, int theNU, int theNV) const
 Evaluate partial derivative at all grid points.
 

Detailed Description

Fallback evaluator for any surface type.

Uses D0/D1/D2/D3/DN methods for point-by-point evaluation. Supports both Adaptor3d_Surface (by pointer) and occ::handle<Geom_Surface> as input. This is the slowest evaluator but handles any surface type.

Note
When using adaptor pointer, the adaptor must remain valid during the lifetime of this evaluator.

Usage:

NCollection_Array2<gp_Pnt> aGrid = anEvaluator.EvaluateGrid(myUParams, myVParams);
Fallback evaluator for any surface type.
Definition GeomGridEval_OtherSurface.hxx:42
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142

Constructor & Destructor Documentation

◆ GeomGridEval_OtherSurface() [1/4]

GeomGridEval_OtherSurface::GeomGridEval_OtherSurface ( const Adaptor3d_Surface * theSurface)
inline

Constructor with surface adaptor pointer.

Parameters
theSurfacepointer to surface adaptor (must remain valid)

◆ GeomGridEval_OtherSurface() [2/4]

GeomGridEval_OtherSurface::GeomGridEval_OtherSurface ( const occ::handle< Geom_Surface > & theSurface)
inline

Constructor with geometry handle.

Parameters
theSurfacehandle to Geom_Surface

◆ GeomGridEval_OtherSurface() [3/4]

GeomGridEval_OtherSurface::GeomGridEval_OtherSurface ( const GeomGridEval_OtherSurface & )
delete

Non-copyable and non-movable.

◆ GeomGridEval_OtherSurface() [4/4]

GeomGridEval_OtherSurface::GeomGridEval_OtherSurface ( GeomGridEval_OtherSurface && )
delete

Member Function Documentation

◆ EvaluateGrid()

NCollection_Array2< gp_Pnt > GeomGridEval_OtherSurface::EvaluateGrid ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const

Evaluate grid points at Cartesian product of U and V parameters.

Parameters
theUParamsarray of U parameter values
theVParamsarray of V parameter values
Returns
2D array of evaluated points (1-based indexing)

◆ EvaluateGridD1()

NCollection_Array2< GeomGridEval::SurfD1 > GeomGridEval_OtherSurface::EvaluateGridD1 ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const

Evaluate grid points with first partial derivatives.

Parameters
theUParamsarray of U parameter values
theVParamsarray of V parameter values
Returns
2D array of SurfD1 (1-based indexing)

◆ EvaluateGridD2()

NCollection_Array2< GeomGridEval::SurfD2 > GeomGridEval_OtherSurface::EvaluateGridD2 ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const

Evaluate grid points with first and second partial derivatives.

Parameters
theUParamsarray of U parameter values
theVParamsarray of V parameter values
Returns
2D array of SurfD2 (1-based indexing)

◆ EvaluateGridD3()

NCollection_Array2< GeomGridEval::SurfD3 > GeomGridEval_OtherSurface::EvaluateGridD3 ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const

Evaluate grid points with derivatives up to third order.

Parameters
theUParamsarray of U parameter values
theVParamsarray of V parameter values
Returns
2D array of SurfD3 (1-based indexing)

◆ EvaluateGridDN()

NCollection_Array2< gp_Vec > GeomGridEval_OtherSurface::EvaluateGridDN ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams,
int theNU,
int theNV ) const

Evaluate partial derivative at all grid points.

Parameters
theUParamsarray of U parameter values
theVParamsarray of V parameter values
theNUderivative order in U direction
theNVderivative order in V direction
Returns
2D array of derivative vectors (1-based indexing)

◆ operator=() [1/2]

GeomGridEval_OtherSurface & GeomGridEval_OtherSurface::operator= ( const GeomGridEval_OtherSurface & )
delete

◆ operator=() [2/2]

GeomGridEval_OtherSurface & GeomGridEval_OtherSurface::operator= ( GeomGridEval_OtherSurface && )
delete

The documentation for this class was generated from the following file: