Open CASCADE Technology
7.5.0
|
Class describing a continous 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 (Standard_Integer &theNbPnt, Standard_Integer &theNbPnt2d) const |
Get number of 3d and 2d points returned by "Value" and "D1" functions. More... | |
Standard_Integer | GetNbOf3dPoints () const |
Get number of 3d points returned by "Value" and "D1" functions. More... | |
Standard_Integer | GetNbOf2dPoints () const |
Get number of 2d points returned by "Value" and "D1" functions. More... | |
virtual | ~AppCont_Function () |
Destructor. More... | |
virtual Standard_Real | FirstParameter () const =0 |
Returns the first parameter of the function. More... | |
virtual Standard_Real | LastParameter () const =0 |
Returns the last parameter of the function. More... | |
virtual Standard_Boolean | Value (const Standard_Real theU, NCollection_Array1< gp_Pnt2d > &thePnt2d, NCollection_Array1< gp_Pnt > &thePnt) const =0 |
Returns the point at parameter <theU>. More... | |
virtual Standard_Boolean | D1 (const Standard_Real theU, NCollection_Array1< gp_Vec2d > &theVec2d, NCollection_Array1< gp_Vec > &theVec) const =0 |
Returns the derivative at parameter <theU>. More... | |
virtual void | PeriodInformation (const Standard_Integer, Standard_Boolean &IsPeriodic, Standard_Real &thePeriod) const |
Return information about peridicity in output paramateters space. More... | |
Protected Attributes | |
Standard_Integer | myNbPnt |
Standard_Integer | myNbPnt2d |
Class describing a continous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve.
|
inline |
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns the derivative at parameter <theU>.
Implemented in BRepFill_MultiLine.
|
pure virtual |
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.
|
inline |
Get number of 3d and 2d points returned by "Value" and "D1" functions.
|
pure virtual |
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 |