// 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 _ShapeUpgrade_ShapeDivideAngle_HeaderFile #define _ShapeUpgrade_ShapeDivideAngle_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _ShapeUpgrade_ShapeDivide_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class TopoDS_Shape; //! Splits all surfaces of revolution, cylindrical, toroidal,
//! conical, spherical surfaces in the given shape so that
//! each resulting segment covers not more than defined number
//! of degrees.
class ShapeUpgrade_ShapeDivideAngle : public ShapeUpgrade_ShapeDivide { 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 ShapeUpgrade_ShapeDivideAngle(const Standard_Real MaxAngle); //! Initialize by a Shape.
Standard_EXPORT ShapeUpgrade_ShapeDivideAngle(const Standard_Real MaxAngle,const TopoDS_Shape& S); //! Resets tool for splitting face with given angle
Standard_EXPORT void InitTool(const Standard_Real MaxAngle) ; //! Set maximal angle (calls InitTool)
Standard_EXPORT void SetMaxAngle(const Standard_Real MaxAngle) ; //! Returns maximal angle
Standard_EXPORT Standard_Real MaxAngle() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif