// 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_SplitSurfaceAngle_HeaderFile #define _ShapeUpgrade_SplitSurfaceAngle_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ShapeUpgrade_SplitSurfaceAngle_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _ShapeUpgrade_SplitSurface_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif //! Splits a surfaces of revolution, cylindrical, toroidal,
//! conical, spherical so that each resulting segment covers
//! not more than defined number of degrees.
class ShapeUpgrade_SplitSurfaceAngle : public ShapeUpgrade_SplitSurface { public: //! Empty constructor.
Standard_EXPORT ShapeUpgrade_SplitSurfaceAngle(const Standard_Real MaxAngle); //! Set maximal angle
Standard_EXPORT void SetMaxAngle(const Standard_Real MaxAngle) ; //! Returns maximal angle
Standard_EXPORT Standard_Real MaxAngle() const; //! Performs splitting of the supporting surface(s).
//! First defines splitting values, then calls inherited method.
Standard_EXPORT virtual void Compute(const Standard_Boolean Segment) ; DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitSurfaceAngle) protected: private: Standard_Real myMaxAngle; }; // other Inline functions and methods (like "C++: function call" methods) #endif