|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | Law_Interpolate (const Handle(TColStd_HArray1OfReal)&Points, const Standard_Boolean PeriodicFlag, const Standard_Real Tolerance) |
| Tolerance is to check if the points are not too close
to one an other. It is also used to check if the
tangent vector is not too small. There should be at
least 2 points. If PeriodicFlag is True then the curve
will be periodic be periodic
.
|
Standard_EXPORT | Law_Interpolate (const Handle(TColStd_HArray1OfReal)&Points, const Handle(TColStd_HArray1OfReal)&Parameters, const Standard_Boolean PeriodicFlag, const Standard_Real Tolerance) |
| Tolerance is to check if the points are not too close
to one an other. It is also used to check if the
tangent vector is not too small. There should be at
least 2 points. If PeriodicFlag is True then the curve
will be periodic be periodic
.
|
Standard_EXPORT void | Load (const Standard_Real InitialTangent, const Standard_Real FinalTangent) |
| loads initial and final tangents if any.
|
Standard_EXPORT void | Load (const TColStd_Array1OfReal &Tangents, const Handle(TColStd_HArray1OfBoolean)&TangentFlags) |
| loads the tangents. We should have as many tangents as
they are points in the array if TangentFlags.Value(i)
is Standard_True use the tangent Tangents.Value(i)
otherwise the tangent is not constrained.
|
Standard_EXPORT void | ClearTangents () |
| Clears the tangents if any
.
|
Standard_EXPORT void | Perform () |
| Makes the interpolation
.
|
Standard_EXPORT const Handle_Law_BSpline & | Curve () const |
Standard_EXPORT Standard_Boolean | IsDone () const |
Private Member Functions |
Standard_EXPORT void | PerformNonPeriodic () |
| Interpolates in a non periodic fashion.
.
|
Standard_EXPORT void | PerformPeriodic () |
| Interpolates in a C1 periodic fashion.
.
|
Private Attributes |
Standard_Real | myTolerance |
Handle_TColStd_HArray1OfReal | myPoints |
Standard_Boolean | myIsDone |
Handle_Law_BSpline | myCurve |
Handle_TColStd_HArray1OfReal | myTangents |
Handle_TColStd_HArray1OfBoolean | myTangentFlags |
Handle_TColStd_HArray1OfReal | myParameters |
Standard_Boolean | myPeriodic |
Standard_Boolean | myTangentRequest |