OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Approx_Curve3d Class Reference

    #include <Approx_Curve3d.hxx>

    Public Member Functions

     Approx_Curve3d (const occ::handle< Adaptor3d_Curve > &Curve, const double Tol3d, const GeomAbs_Shape Order, const int MaxSegments, const int MaxDegree)
     Approximation of a curve with respect of the required tolerance Tol3D.
    occ::handle< Geom_BSplineCurve > Curve () const
    bool IsDone () const
     returns true if the approximation has been done within required tolerance
    bool HasResult () const
     returns true if the approximation did come out with a result that is not NECESSARILY within the required tolerance
    double MaxError () const
     returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation)
    void Dump (Standard_OStream &o) const
     Print on the stream 'o' information about the object.

    Constructor & Destructor Documentation

    ◆ Approx_Curve3d()

    Approx_Curve3d::Approx_Curve3d ( const occ::handle< Adaptor3d_Curve > & Curve,
    const double Tol3d,
    const GeomAbs_Shape Order,
    const int MaxSegments,
    const int MaxDegree )

    Approximation of a curve with respect of the required tolerance Tol3D.

    Member Function Documentation

    ◆ Curve()

    occ::handle< Geom_BSplineCurve > Approx_Curve3d::Curve ( ) const

    ◆ Dump()

    void Approx_Curve3d::Dump ( Standard_OStream & o) const

    Print on the stream 'o' information about the object.

    ◆ HasResult()

    bool Approx_Curve3d::HasResult ( ) const

    returns true if the approximation did come out with a result that is not NECESSARILY within the required tolerance

    ◆ IsDone()

    bool Approx_Curve3d::IsDone ( ) const

    returns true if the approximation has been done within required tolerance

    ◆ MaxError()

    double Approx_Curve3d::MaxError ( ) const

    returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation)


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