Open CASCADE Technology 7.8.2.dev
Approx_Curve3d Class Reference

#include <Approx_Curve3d.hxx>

Public Member Functions

 Approx_Curve3d (const Handle< Adaptor3d_Curve > &Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree)
 Approximation of a curve with respect of the required tolerance Tol3D.
 
Handle< Geom_BSplineCurveCurve () const
 
Standard_Boolean IsDone () const
 returns Standard_True if the approximation has been done within required tolerance
 
Standard_Boolean HasResult () const
 returns Standard_True if the approximation did come out with a result that is not NECESSARELY within the required tolerance
 
Standard_Real 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 Handle< Adaptor3d_Curve > & Curve,
const Standard_Real Tol3d,
const GeomAbs_Shape Order,
const Standard_Integer MaxSegments,
const Standard_Integer MaxDegree )

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

Member Function Documentation

◆ Curve()

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

Standard_Boolean Approx_Curve3d::HasResult ( ) const

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

◆ IsDone()

Standard_Boolean Approx_Curve3d::IsDone ( ) const

returns Standard_True if the approximation has been done within required tolerance

◆ MaxError()

Standard_Real 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: