![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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>

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 |
Class describing a continuous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve.
|
inline |
|
virtualdefault |
Destructor.
|
pure virtual |
Returns the derivative at parameter <theU>.
Implemented in BRepFill_MultiLine.
Returns the first parameter of the function.
Implemented in BRepFill_MultiLine.
|
inline |
Get number of 2d points returned by "Value" and "D1" functions.
|
inline |
Get number of 3d points returned by "Value" and "D1" functions.
Get number of 3d and 2d points returned by "Value" and "D1" functions.
Returns the last parameter of the function.
Implemented in BRepFill_MultiLine.
|
inlinevirtual |
Return information about peridicity in output paramateters space.
| theDimIdx | Defines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d. |
|
pure virtual |
Returns the point at parameter <theU>.
Implemented in BRepFill_MultiLine.
|
protected |
|
protected |