// 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 _DrawTrSurf_Polygon2D_HeaderFile #define _DrawTrSurf_Polygon2D_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_DrawTrSurf_Polygon2D_HeaderFile #include #endif #ifndef _Handle_Poly_Polygon2D_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Draw_Drawable2D_HeaderFile #include #endif #ifndef _Handle_Draw_Drawable3D_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Poly_Polygon2D; class Draw_Display; class Draw_Drawable3D; class Draw_Interpretor; //! Used to display a 2d polygon.
//!
//! Optional display of nodes.
class DrawTrSurf_Polygon2D : public Draw_Drawable2D { public: Standard_EXPORT DrawTrSurf_Polygon2D(const Handle(Poly_Polygon2D)& P); Standard_EXPORT Handle_Poly_Polygon2D Polygon2D() const; Standard_EXPORT void ShowNodes(const Standard_Boolean B) ; Standard_EXPORT Standard_Boolean ShowNodes() const; Standard_EXPORT void DrawOn(Draw_Display& dis) const; //! For variable copy.
Standard_EXPORT virtual Handle_Draw_Drawable3D Copy() const; //! For variable dump.
Standard_EXPORT virtual void Dump(Standard_OStream& S) const; //! For variable whatis command. Set as a result the
//! type of the variable.
Standard_EXPORT virtual void Whatis(Draw_Interpretor& I) const; DEFINE_STANDARD_RTTI(DrawTrSurf_Polygon2D) protected: private: Handle_Poly_Polygon2D myPolygon2D; Standard_Boolean myNodes; }; // other Inline functions and methods (like "C++: function call" methods) #endif