// 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 _PBRep_PolygonOnClosedSurface_HeaderFile
#define _PBRep_PolygonOnClosedSurface_HeaderFile

#include <Standard_Macro.hxx>
#include <Standard_DefineHandle.hxx>
#include <Standard.hxx>
#include <Handle_PBRep_PolygonOnClosedSurface.hxx>

#include <Standard_Boolean.hxx>
#include <Handle_PPoly_Polygon2D.hxx>
#include <PBRep_PolygonOnSurface.hxx>
#include <Handle_PGeom_Surface.hxx>
class PPoly_Polygon2D;
class PGeom_Surface;
class PTopLoc_Location;


class PBRep_PolygonOnClosedSurface : public PBRep_PolygonOnSurface
{

public:

  
  Standard_EXPORT PBRep_PolygonOnClosedSurface(const Handle(PPoly_Polygon2D)& P1, const Handle(PPoly_Polygon2D)& P2, const Handle(PGeom_Surface)& S, const PTopLoc_Location& L);
  
  //! returns True.
  Standard_EXPORT virtual   Standard_Boolean IsPolygonOnClosedSurface()  const;
  
  Standard_EXPORT   Handle(PPoly_Polygon2D) Polygon2()  const;

PBRep_PolygonOnClosedSurface( )
{
  
}
PBRep_PolygonOnClosedSurface(const Storage_stCONSTclCOM& a) : PBRep_PolygonOnSurface(a)
{
  
}
    Handle(PPoly_Polygon2D) _CSFDB_GetPBRep_PolygonOnClosedSurfacemyPolygon2() const { return myPolygon2; }
    void _CSFDB_SetPBRep_PolygonOnClosedSurfacemyPolygon2(const Handle(PPoly_Polygon2D)& p) { myPolygon2 = p; }



  DEFINE_STANDARD_RTTI(PBRep_PolygonOnClosedSurface)

protected:




private: 


  Handle(PPoly_Polygon2D) myPolygon2;


};







#endif // _PBRep_PolygonOnClosedSurface_HeaderFile
