// 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 _IntTools_Curve_HeaderFile #define _IntTools_Curve_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Geom_Curve_HeaderFile #include #endif #ifndef _Handle_Geom2d_Curve_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _GeomAbs_CurveType_HeaderFile #include #endif class Geom_Curve; class Geom2d_Curve; class gp_Pnt; class IntTools_Curve { 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); } //! Empty constructor
Standard_EXPORT IntTools_Curve(); //! Initializes me by a 3d curve
//! and two 2d curves
Standard_EXPORT IntTools_Curve(const Handle(Geom_Curve)& Curve3d,const Handle(Geom2d_Curve)& FirstCurve2d,const Handle(Geom2d_Curve)& SecondCurve2d); //! Modifier
Standard_EXPORT void SetCurves(const Handle(Geom_Curve)& Curve3d,const Handle(Geom2d_Curve)& FirstCurve2d,const Handle(Geom2d_Curve)& SecondCurve2d) ; //! Modifier
void SetCurve(const Handle(Geom_Curve)& Curve3d) ; //! Modifier
void SetFirstCurve2d(const Handle(Geom2d_Curve)& FirstCurve2d) ; //! Modifier
void SetSecondCurve2d(const Handle(Geom2d_Curve)& SecondCurve2d) ; //! Selector
const Handle_Geom_Curve& Curve() const; //! Selector
const Handle_Geom2d_Curve& FirstCurve2d() const; //! Selector
const Handle_Geom2d_Curve& SecondCurve2d() const; //! Returns true if 3d curve is BoundedCurve from Geom
Standard_EXPORT Standard_Boolean HasBounds() const; //! Returns boundary parameters
//! and corresponded 3d point.
Standard_EXPORT void Bounds(Standard_Real& aT1,Standard_Real& aT2,gp_Pnt& aP1,gp_Pnt& aP2) const; //! Computes 3d point corresponded to parameter aT1
//! Returns true if given parameter aT1
//! is inside the boundaries of the curve
Standard_EXPORT Standard_Boolean D0(Standard_Real& aT1,gp_Pnt& aP1) const; //! Returns the type of 3d curve
Standard_EXPORT GeomAbs_CurveType Type() const; protected: private: Handle_Geom_Curve my3dCurve; Handle_Geom2d_Curve my2dCurve1; Handle_Geom2d_Curve my2dCurve2; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif