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

Efficient batch evaluator for plane grid points. More...

#include <GeomGridEval_Plane.hxx>

Public Member Functions

 GeomGridEval_Plane (const occ::handle< Geom_Plane > &thePlane)
 Constructor with geometry.
 
 GeomGridEval_Plane (const GeomGridEval_Plane &)=delete
 Non-copyable and non-movable.
 
GeomGridEval_Planeoperator= (const GeomGridEval_Plane &)=delete
 
 GeomGridEval_Plane (GeomGridEval_Plane &&)=delete
 
GeomGridEval_Planeoperator= (GeomGridEval_Plane &&)=delete
 
const occ::handle< Geom_Plane > & Geometry () const
 Returns the geometry handle.
 
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 d^(NU+NV)S/(dU^NU dV^NV) at all grid points.
 

Detailed Description

Efficient batch evaluator for plane grid points.

Uses direct analytical formula: P(u,v) = Location + u * XDir + v * YDir This is a header-only implementation for maximum performance.

Usage:

NCollection_Array2<gp_Pnt> aGrid = anEvaluator.EvaluateGrid(myUParams, myVParams);
Efficient batch evaluator for plane grid points.
Definition GeomGridEval_Plane.hxx:36
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142

Constructor & Destructor Documentation

◆ GeomGridEval_Plane() [1/3]

GeomGridEval_Plane::GeomGridEval_Plane ( const occ::handle< Geom_Plane > & thePlane)
inline

Constructor with geometry.

Parameters
thePlanethe plane geometry to evaluate

◆ GeomGridEval_Plane() [2/3]

GeomGridEval_Plane::GeomGridEval_Plane ( const GeomGridEval_Plane & )
delete

Non-copyable and non-movable.

◆ GeomGridEval_Plane() [3/3]

GeomGridEval_Plane::GeomGridEval_Plane ( GeomGridEval_Plane && )
delete

Member Function Documentation

◆ EvaluateGrid()

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

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_Plane::EvaluateGridD1 ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const
inline

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_Plane::EvaluateGridD2 ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const
inline

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_Plane::EvaluateGridD3 ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams ) const
inline

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_Plane::EvaluateGridDN ( const NCollection_Array1< double > & theUParams,
const NCollection_Array1< double > & theVParams,
int theNU,
int theNV ) const
inline

Evaluate partial derivative d^(NU+NV)S/(dU^NU dV^NV) 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)

◆ Geometry()

const occ::handle< Geom_Plane > & GeomGridEval_Plane::Geometry ( ) const
inline

Returns the geometry handle.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomGridEval_Plane & GeomGridEval_Plane::operator= ( GeomGridEval_Plane && )
delete

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