OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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 conditions 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 int Degree, const int NumPoints, const NCollection_Array1< gp_Pnt > &Points, const NCollection_Array1< double > &Parameters)
    bool IsDone () const
     returns if everything went OK
    GeomLib_InterpolationErrors Error () const
     returns the error type if any
    occ::handle< Geom_BSplineCurve > Curve () 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 conditions 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 int Degree,
    const int NumPoints,
    const NCollection_Array1< gp_Pnt > & Points,
    const NCollection_Array1< double > & Parameters )

    Member Function Documentation

    ◆ Curve()

    occ::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()

    bool GeomLib_Interpolate::IsDone ( ) const

    returns if everything went OK


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