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

Fallback evaluator for unknown curve types. More...

#include <GeomGridEval_OtherCurve.hxx>

Public Member Functions

 GeomGridEval_OtherCurve (const Adaptor3d_Curve &theCurve)
 Constructor with curve adaptor reference.
 
 GeomGridEval_OtherCurve (const GeomGridEval_OtherCurve &)=delete
 Non-copyable and non-movable.
 
GeomGridEval_OtherCurveoperator= (const GeomGridEval_OtherCurve &)=delete
 
 GeomGridEval_OtherCurve (GeomGridEval_OtherCurve &&)=delete
 
GeomGridEval_OtherCurveoperator= (GeomGridEval_OtherCurve &&)=delete
 
const Adaptor3d_CurveCurve () const
 Returns the curve adaptor reference.
 
NCollection_Array1< gp_PntEvaluateGrid (const NCollection_Array1< double > &theParams) const
 Evaluate all grid points.
 
NCollection_Array1< GeomGridEval::CurveD1EvaluateGridD1 (const NCollection_Array1< double > &theParams) const
 Evaluate all grid points with first derivative.
 
NCollection_Array1< GeomGridEval::CurveD2EvaluateGridD2 (const NCollection_Array1< double > &theParams) const
 Evaluate all grid points with first and second derivatives.
 
NCollection_Array1< GeomGridEval::CurveD3EvaluateGridD3 (const NCollection_Array1< double > &theParams) const
 Evaluate all grid points with first, second, and third derivatives.
 
NCollection_Array1< gp_VecEvaluateGridDN (const NCollection_Array1< double > &theParams, int theN) const
 Evaluate Nth derivative at all grid points. For orders 1-3, reuses EvaluateGridD1/D2/D3. For orders > 3, uses adaptor DN method.
 

Detailed Description

Fallback evaluator for unknown curve types.

Uses Adaptor3d_Curve::D0 for point-by-point evaluation. This is the slowest evaluator but handles any curve type.

Note
The curve adaptor reference must remain valid during the lifetime of this evaluator. The evaluator does not take ownership.

Usage:

NCollection_Array1<gp_Pnt> aGrid = anEvaluator.EvaluateGrid(myParams);
Fallback evaluator for unknown curve types.
Definition GeomGridEval_OtherCurve.hxx:39
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142

Constructor & Destructor Documentation

◆ GeomGridEval_OtherCurve() [1/3]

GeomGridEval_OtherCurve::GeomGridEval_OtherCurve ( const Adaptor3d_Curve & theCurve)
inline

Constructor with curve adaptor reference.

Parameters
theCurvereference to curve adaptor (must remain valid)

◆ GeomGridEval_OtherCurve() [2/3]

GeomGridEval_OtherCurve::GeomGridEval_OtherCurve ( const GeomGridEval_OtherCurve & )
delete

Non-copyable and non-movable.

◆ GeomGridEval_OtherCurve() [3/3]

GeomGridEval_OtherCurve::GeomGridEval_OtherCurve ( GeomGridEval_OtherCurve && )
delete

Member Function Documentation

◆ Curve()

const Adaptor3d_Curve & GeomGridEval_OtherCurve::Curve ( ) const
inline

Returns the curve adaptor reference.

◆ EvaluateGrid()

NCollection_Array1< gp_Pnt > GeomGridEval_OtherCurve::EvaluateGrid ( const NCollection_Array1< double > & theParams) const

Evaluate all grid points.

Parameters
theParamsarray of parameter values
Returns
array of evaluated points (1-based indexing), or empty array if no parameters

◆ EvaluateGridD1()

NCollection_Array1< GeomGridEval::CurveD1 > GeomGridEval_OtherCurve::EvaluateGridD1 ( const NCollection_Array1< double > & theParams) const

Evaluate all grid points with first derivative.

Parameters
theParamsarray of parameter values
Returns
array of CurveD1 (1-based indexing), or empty array if no parameters

◆ EvaluateGridD2()

NCollection_Array1< GeomGridEval::CurveD2 > GeomGridEval_OtherCurve::EvaluateGridD2 ( const NCollection_Array1< double > & theParams) const

Evaluate all grid points with first and second derivatives.

Parameters
theParamsarray of parameter values
Returns
array of CurveD2 (1-based indexing), or empty array if no parameters

◆ EvaluateGridD3()

NCollection_Array1< GeomGridEval::CurveD3 > GeomGridEval_OtherCurve::EvaluateGridD3 ( const NCollection_Array1< double > & theParams) const

Evaluate all grid points with first, second, and third derivatives.

Parameters
theParamsarray of parameter values
Returns
array of CurveD3 (1-based indexing), or empty array if no parameters

◆ EvaluateGridDN()

NCollection_Array1< gp_Vec > GeomGridEval_OtherCurve::EvaluateGridDN ( const NCollection_Array1< double > & theParams,
int theN ) const

Evaluate Nth derivative at all grid points. For orders 1-3, reuses EvaluateGridD1/D2/D3. For orders > 3, uses adaptor DN method.

Parameters
theParamsarray of parameter values
theNderivative order (N >= 1)
Returns
array of derivative vectors (1-based indexing)

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomGridEval_OtherCurve & GeomGridEval_OtherCurve::operator= ( GeomGridEval_OtherCurve && )
delete

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