Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
AppCont_Function Class Referenceabstract

Class describing a continuous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve. More...

#include <AppCont_Function.hxx>

Inheritance diagram for AppCont_Function:
Inheritance graph
[legend]

Public Member Functions

 AppCont_Function ()
 
void GetNumberOfPoints (int &theNbPnt, int &theNbPnt2d) const
 Get number of 3d and 2d points returned by "Value" and "D1" functions.
 
int GetNbOf3dPoints () const
 Get number of 3d points returned by "Value" and "D1" functions.
 
int GetNbOf2dPoints () const
 Get number of 2d points returned by "Value" and "D1" functions.
 
virtual ~AppCont_Function ()=default
 Destructor.
 
virtual double FirstParameter () const =0
 Returns the first parameter of the function.
 
virtual double LastParameter () const =0
 Returns the last parameter of the function.
 
virtual bool Value (const double theU, NCollection_Array1< gp_Pnt2d > &thePnt2d, NCollection_Array1< gp_Pnt > &thePnt) const =0
 Returns the point at parameter <theU>.
 
virtual bool D1 (const double theU, NCollection_Array1< gp_Vec2d > &theVec2d, NCollection_Array1< gp_Vec > &theVec) const =0
 Returns the derivative at parameter <theU>.
 
virtual void PeriodInformation (const int, bool &IsPeriodic, double &thePeriod) const
 Return information about peridicity in output paramateters space.
 

Protected Attributes

int myNbPnt
 
int myNbPnt2d
 

Detailed Description

Class describing a continuous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve.

Constructor & Destructor Documentation

◆ AppCont_Function()

AppCont_Function::AppCont_Function ( )
inline

◆ ~AppCont_Function()

virtual AppCont_Function::~AppCont_Function ( )
virtualdefault

Destructor.

Member Function Documentation

◆ D1()

virtual bool AppCont_Function::D1 ( const double theU,
NCollection_Array1< gp_Vec2d > & theVec2d,
NCollection_Array1< gp_Vec > & theVec ) const
pure virtual

Returns the derivative at parameter <theU>.

Implemented in BRepFill_MultiLine.

◆ FirstParameter()

virtual double AppCont_Function::FirstParameter ( ) const
pure virtual

Returns the first parameter of the function.

Implemented in BRepFill_MultiLine.

◆ GetNbOf2dPoints()

int AppCont_Function::GetNbOf2dPoints ( ) const
inline

Get number of 2d points returned by "Value" and "D1" functions.

◆ GetNbOf3dPoints()

int AppCont_Function::GetNbOf3dPoints ( ) const
inline

Get number of 3d points returned by "Value" and "D1" functions.

◆ GetNumberOfPoints()

void AppCont_Function::GetNumberOfPoints ( int & theNbPnt,
int & theNbPnt2d ) const
inline

Get number of 3d and 2d points returned by "Value" and "D1" functions.

◆ LastParameter()

virtual double AppCont_Function::LastParameter ( ) const
pure virtual

Returns the last parameter of the function.

Implemented in BRepFill_MultiLine.

◆ PeriodInformation()

virtual void AppCont_Function::PeriodInformation ( const int ,
bool & IsPeriodic,
double & thePeriod ) const
inlinevirtual

Return information about peridicity in output paramateters space.

Parameters
theDimIdxDefines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d.

◆ Value()

virtual bool AppCont_Function::Value ( const double theU,
NCollection_Array1< gp_Pnt2d > & thePnt2d,
NCollection_Array1< gp_Pnt > & thePnt ) const
pure virtual

Returns the point at parameter <theU>.

Implemented in BRepFill_MultiLine.

Field Documentation

◆ myNbPnt

int AppCont_Function::myNbPnt
protected

◆ myNbPnt2d

int AppCont_Function::myNbPnt2d
protected

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