// 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_ShapeDivideArea_HeaderFile #define _ShapeUpgrade_ShapeDivideArea_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _ShapeUpgrade_ShapeDivide_HeaderFile #include #endif #ifndef _Handle_ShapeUpgrade_FaceDivide_HeaderFile #include #endif class TopoDS_Shape; class ShapeUpgrade_FaceDivide; //! Divides faces from sprcified shape by max area criterium.
class ShapeUpgrade_ShapeDivideArea : 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); } Standard_EXPORT ShapeUpgrade_ShapeDivideArea(); //! Initialize by a Shape.
Standard_EXPORT ShapeUpgrade_ShapeDivideArea(const TopoDS_Shape& S); //!Set max area allowed for faces
Standard_Real& MaxArea() ; protected: //! Returns the tool for splitting faces.
Standard_EXPORT virtual Handle_ShapeUpgrade_FaceDivide GetSplitFaceTool() const; private: Standard_Real myMaxArea; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif