// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _ProjLib_ComputeApprox_HeaderFile #define _ProjLib_ComputeApprox_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_Geom2d_BSplineCurve_HeaderFile #include #endif #ifndef _Handle_Geom2d_BezierCurve_HeaderFile #include #endif #ifndef _Handle_Adaptor3d_HCurve_HeaderFile #include #endif #ifndef _Handle_Adaptor3d_HSurface_HeaderFile #include #endif class Geom2d_BSplineCurve; class Geom2d_BezierCurve; class Adaptor3d_HCurve; class Adaptor3d_HSurface; class ProjLib_ComputeApprox { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! is the tolerance with which the
//! approximation is performed.
Standard_EXPORT ProjLib_ComputeApprox(const Handle(Adaptor3d_HCurve)& C,const Handle(Adaptor3d_HSurface)& S,const Standard_Real Tol); Standard_EXPORT Handle_Geom2d_BSplineCurve BSpline() const; Standard_EXPORT Handle_Geom2d_BezierCurve Bezier() const; //! returns the reached Tolerance.
Standard_EXPORT Standard_Real Tolerance() const; protected: private: Standard_Real myTolerance; Handle_Geom2d_BSplineCurve myBSpline; Handle_Geom2d_BezierCurve myBezier; }; // other Inline functions and methods (like "C++: function call" methods) #endif