// 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 _GeomLib_Check2dBSplineCurve_HeaderFile #define _GeomLib_Check2dBSplineCurve_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Geom2d_BSplineCurve_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _gp_Pnt2d_HeaderFile #include #endif class Geom2d_BSplineCurve; class StdFail_NotDone; class Standard_OutOfRange; //! this class is used to construct the BSpline curve
//! from an Approximation ( ApproxAFunction from AdvApprox).
class GeomLib_Check2dBSplineCurve { 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); } Standard_EXPORT GeomLib_Check2dBSplineCurve(const Handle(Geom2d_BSplineCurve)& Curve,const Standard_Real Tolerance,const Standard_Real AngularTolerance); Standard_Boolean IsDone() const; Standard_EXPORT void NeedTangentFix(Standard_Boolean& FirstFlag,Standard_Boolean& SecondFlag) const; Standard_EXPORT void FixTangent(const Standard_Boolean FirstFlag,const Standard_Boolean LastFlag) ; //! modifies the curve
//! by fixing the first or the last tangencies
//!
//! if Index3D not in the Range [1,Nb3dSpaces]
//! if the Approx is not Done
Standard_EXPORT Handle_Geom2d_BSplineCurve FixedTangent(const Standard_Boolean FirstFlag,const Standard_Boolean LastFlag) ; protected: private: Handle_Geom2d_BSplineCurve myCurve; Standard_Boolean myDone; Standard_Boolean myFixFirstTangent; Standard_Boolean myFixLastTangent; Standard_Real myAngularTolerance; Standard_Real myTolerance; gp_Pnt2d myFirstPole; gp_Pnt2d myLastPole; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif