Open CASCADE Technology 7.8.0
|
#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_BSplineCurve > | Curve () 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. | |
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.
Handle< Geom_BSplineCurve > Approx_Curve3d::Curve | ( | ) | const |
void Approx_Curve3d::Dump | ( | Standard_OStream & | o | ) | const |
Print on the stream o information about the object.
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
Standard_Boolean Approx_Curve3d::IsDone | ( | ) | const |
returns Standard_True if the approximation has been done within required tolerance
Standard_Real Approx_Curve3d::MaxError | ( | ) | const |
returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation)