// 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 _PPoly_Polygon2D_HeaderFile #define _PPoly_Polygon2D_HeaderFile #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Standard_HeaderFile #include #endif #ifndef _Handle_PPoly_Polygon2D_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_PColgp_HArray1OfPnt2d_HeaderFile #include #endif #ifndef _Standard_Persistent_HeaderFile #include #endif class PColgp_HArray1OfPnt2d; class PPoly_Polygon2D : public Standard_Persistent { public: //! Defaults with allocation of nodes.
Standard_EXPORT PPoly_Polygon2D(const Handle(PColgp_HArray1OfPnt2d)& Nodes,const Standard_Real Defl); Standard_EXPORT Standard_Real Deflection() const; Standard_EXPORT void Deflection(const Standard_Real Defl) ; Standard_EXPORT Standard_Integer NbNodes() const; Standard_EXPORT Handle_PColgp_HArray1OfPnt2d Nodes() const; Standard_EXPORT void Nodes(const Handle(PColgp_HArray1OfPnt2d)& Nodes) ; PPoly_Polygon2D( ) { } PPoly_Polygon2D(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) { } Standard_Real _CSFDB_GetPPoly_Polygon2DmyDeflection() const { return myDeflection; } void _CSFDB_SetPPoly_Polygon2DmyDeflection(const Standard_Real p) { myDeflection = p; } Handle(PColgp_HArray1OfPnt2d) _CSFDB_GetPPoly_Polygon2DmyNodes() const { return myNodes; } void _CSFDB_SetPPoly_Polygon2DmyNodes(const Handle(PColgp_HArray1OfPnt2d)& p) { myNodes = p; } DEFINE_STANDARD_RTTI(PPoly_Polygon2D) protected: private: Standard_Real myDeflection; Handle_PColgp_HArray1OfPnt2d myNodes; }; // other Inline functions and methods (like "C++: function call" methods) #endif