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

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_BRep_PolygonOnClosedSurface.hxx>

#include <Handle_Poly_Polygon2D.hxx>
#include <BRep_PolygonOnSurface.hxx>
#include <Handle_Geom_Surface.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_BRep_CurveRepresentation.hxx>
class Poly_Polygon2D;
class Geom_Surface;
class TopLoc_Location;
class BRep_CurveRepresentation;


//! Representation by two 2d polygons in the parametric
//! space of a surface.
class BRep_PolygonOnClosedSurface : public BRep_PolygonOnSurface
{

public:

  
  Standard_EXPORT BRep_PolygonOnClosedSurface(const Handle(Poly_Polygon2D)& P1, const Handle(Poly_Polygon2D)& P2, const Handle(Geom_Surface)& S, const TopLoc_Location& L);
  
  //! returns True.
  Standard_EXPORT virtual   Standard_Boolean IsPolygonOnClosedSurface()  const;
  
  Standard_EXPORT virtual  const  Handle(Poly_Polygon2D)& Polygon2()  const;
  
  Standard_EXPORT virtual   void Polygon2 (const Handle(Poly_Polygon2D)& P) ;
  
  //! Return a copy of this representation.
  Standard_EXPORT virtual   Handle(BRep_CurveRepresentation) Copy()  const;




  DEFINE_STANDARD_RTTI(BRep_PolygonOnClosedSurface)

protected:




private: 


  Handle(Poly_Polygon2D) myPolygon2;


};







#endif // _BRep_PolygonOnClosedSurface_HeaderFile
