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

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

#include <GeomGridEval_Hyperbola.hxx>

Public Member Functions

 GeomGridEval_Hyperbola (const occ::handle< Geom_Hyperbola > &theHyperbola)
 Constructor with geometry.
 
 GeomGridEval_Hyperbola (const GeomGridEval_Hyperbola &)=delete
 Non-copyable and non-movable.
 
GeomGridEval_Hyperbolaoperator= (const GeomGridEval_Hyperbola &)=delete
 
 GeomGridEval_Hyperbola (GeomGridEval_Hyperbola &&)=delete
 
GeomGridEval_Hyperbolaoperator= (GeomGridEval_Hyperbola &&)=delete
 
const occ::handle< Geom_Hyperbola > & Geometry () const
 Returns the geometry handle.
 
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. Hyperbola has cyclic derivatives with period 2: D1 = MajR * sinh(u) * X + MinR * cosh(u) * Y D2 = MajR * cosh(u) * X + MinR * sinh(u) * Y = D0 D3 = D1, D4 = D0, etc.
 

Detailed Description

Efficient batch evaluator for hyperbola grid points.

Uses analytical formula: P(u) = Center + MajorRadius * cosh(u) * XDir + MinorRadius * sinh(u) * YDir

Usage:

NCollection_Array1<gp_Pnt> aGrid = anEvaluator.EvaluateGrid(myParams);
Efficient batch evaluator for hyperbola grid points.
Definition GeomGridEval_Hyperbola.hxx:34
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142

Constructor & Destructor Documentation

◆ GeomGridEval_Hyperbola() [1/3]

GeomGridEval_Hyperbola::GeomGridEval_Hyperbola ( const occ::handle< Geom_Hyperbola > & theHyperbola)
inline

Constructor with geometry.

Parameters
theHyperbolathe hyperbola geometry to evaluate

◆ GeomGridEval_Hyperbola() [2/3]

GeomGridEval_Hyperbola::GeomGridEval_Hyperbola ( const GeomGridEval_Hyperbola & )
delete

Non-copyable and non-movable.

◆ GeomGridEval_Hyperbola() [3/3]

GeomGridEval_Hyperbola::GeomGridEval_Hyperbola ( GeomGridEval_Hyperbola && )
delete

Member Function Documentation

◆ EvaluateGrid()

NCollection_Array1< gp_Pnt > GeomGridEval_Hyperbola::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 geometry is null or no parameters

◆ EvaluateGridD1()

NCollection_Array1< GeomGridEval::CurveD1 > GeomGridEval_Hyperbola::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)

◆ EvaluateGridD2()

NCollection_Array1< GeomGridEval::CurveD2 > GeomGridEval_Hyperbola::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)

◆ EvaluateGridD3()

NCollection_Array1< GeomGridEval::CurveD3 > GeomGridEval_Hyperbola::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)

◆ EvaluateGridDN()

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

Evaluate Nth derivative at all grid points. Hyperbola has cyclic derivatives with period 2: D1 = MajR * sinh(u) * X + MinR * cosh(u) * Y D2 = MajR * cosh(u) * X + MinR * sinh(u) * Y = D0 D3 = D1, D4 = D0, etc.

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

◆ Geometry()

const occ::handle< Geom_Hyperbola > & GeomGridEval_Hyperbola::Geometry ( ) const
inline

Returns the geometry handle.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GeomGridEval_Hyperbola & GeomGridEval_Hyperbola::operator= ( GeomGridEval_Hyperbola && )
delete

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