Open CASCADE Technology
6.5.4
|
this class is used to construct a BSpline curve by
interpolation of points at given parameters The
continuity of the curve is degree - 1 and the
method used when boundary condition are not given
is to use odd degrees and null the derivatives on
both sides from degree -1 down to (degree+1) / 2
When even degree is given the returned curve is of
degree - 1 so that the degree of the curve is odd
#include <GeomLib_Interpolate.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | GeomLib_Interpolate (const Standard_Integer Degree, const Standard_Integer NumPoints, const TColgp_Array1OfPnt &Points, const TColStd_Array1OfReal &Parameters) |
Standard_Boolean | IsDone () const |
returns if everything went OK | |
GeomLib_InterpolationErrors | Error () const |
returns the error type if any | |
Handle_Geom_BSplineCurve | Curve () const |
returns the interpolated curve of the requested degree |
DEFINE_STANDARD_ALLOC GeomLib_Interpolate::GeomLib_Interpolate | ( | const Standard_Integer | Degree, |
const Standard_Integer | NumPoints, | ||
const TColgp_Array1OfPnt & | Points, | ||
const TColStd_Array1OfReal & | Parameters | ||
) |
Handle_Geom_BSplineCurve GeomLib_Interpolate::Curve | ( | ) | const |
Standard_Boolean GeomLib_Interpolate::IsDone | ( | ) | const |