Open CASCADE Technology 7.8.2.dev
GeomLib_Interpolate Class Reference

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 More...

#include <GeomLib_Interpolate.hxx>

Public Member Functions

 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_BSplineCurveCurve () const
 returns the interpolated curve of the requested degree
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GeomLib_Interpolate()

GeomLib_Interpolate::GeomLib_Interpolate ( const Standard_Integer Degree,
const Standard_Integer NumPoints,
const TColgp_Array1OfPnt & Points,
const TColStd_Array1OfReal & Parameters )

Member Function Documentation

◆ Curve()

Handle< Geom_BSplineCurve > GeomLib_Interpolate::Curve ( ) const

returns the interpolated curve of the requested degree

◆ Error()

GeomLib_InterpolationErrors GeomLib_Interpolate::Error ( ) const

returns the error type if any

◆ IsDone()

Standard_Boolean GeomLib_Interpolate::IsDone ( ) const

returns if everything went OK


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