// 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_Tool_HeaderFile #define _ShapeUpgrade_Tool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ShapeUpgrade_Tool_HeaderFile #include #endif #ifndef _Handle_ShapeBuild_ReShape_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif class ShapeBuild_ReShape; //! Tool is a root class for splitting classes
//! Provides context for recording changes, basic
//! precision value and limit (minimal and maximal)
//! values for tolerances
class ShapeUpgrade_Tool : public MMgt_TShared { public: //! Empty constructor
Standard_EXPORT ShapeUpgrade_Tool(); //! Copy all fields from another Root object
Standard_EXPORT void Set(const Handle(ShapeUpgrade_Tool)& tool) ; //! Sets context
void SetContext(const Handle(ShapeBuild_ReShape)& context) ; //! Returns context
Handle_ShapeBuild_ReShape Context() const; //! Sets basic precision value
void SetPrecision(const Standard_Real preci) ; //! Returns basic precision value
Standard_Real Precision() const; //! Sets minimal allowed tolerance
void SetMinTolerance(const Standard_Real mintol) ; //! Returns minimal allowed tolerance
Standard_Real MinTolerance() const; //! Sets maximal allowed tolerance
void SetMaxTolerance(const Standard_Real maxtol) ; //! Returns maximal allowed tolerance
Standard_Real MaxTolerance() const; //! Returns tolerance limited by [myMinTol,myMaxTol]
Standard_Real LimitTolerance(const Standard_Real toler) const; DEFINE_STANDARD_RTTI(ShapeUpgrade_Tool) protected: private: Handle_ShapeBuild_ReShape myContext; Standard_Real myPrecision; Standard_Real myMinTol; Standard_Real myMaxTol; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif