// 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_PolygonOnTriangulation_HeaderFile
#define _BRep_PolygonOnTriangulation_HeaderFile

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

#include <Handle_Poly_PolygonOnTriangulation.hxx>
#include <Handle_Poly_Triangulation.hxx>
#include <BRep_CurveRepresentation.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_BRep_CurveRepresentation.hxx>
class Poly_PolygonOnTriangulation;
class Poly_Triangulation;
class TopLoc_Location;
class BRep_CurveRepresentation;


//! A representation by an array of nodes on a
//! triangulation.
class BRep_PolygonOnTriangulation : public BRep_CurveRepresentation
{

public:

  
  Standard_EXPORT BRep_PolygonOnTriangulation(const Handle(Poly_PolygonOnTriangulation)& P, const Handle(Poly_Triangulation)& T, const TopLoc_Location& L);
  
  //! returns True.
  Standard_EXPORT virtual   Standard_Boolean IsPolygonOnTriangulation()  const;
  
  //! Is it a polygon in the definition of <T> with
  //! location <L>.
  Standard_EXPORT virtual   Standard_Boolean IsPolygonOnTriangulation (const Handle(Poly_Triangulation)& T, const TopLoc_Location& L)  const;
  
  //! returns True.
  Standard_EXPORT virtual   void PolygonOnTriangulation (const Handle(Poly_PolygonOnTriangulation)& P) ;
  
  Standard_EXPORT virtual  const  Handle(Poly_Triangulation)& Triangulation()  const;
  
  Standard_EXPORT virtual  const  Handle(Poly_PolygonOnTriangulation)& PolygonOnTriangulation()  const;
  
  //! Return a copy of this representation.
  Standard_EXPORT virtual   Handle(BRep_CurveRepresentation) Copy()  const;




  DEFINE_STANDARD_RTTI(BRep_PolygonOnTriangulation)

protected:




private: 


  Handle(Poly_PolygonOnTriangulation) myPolygon;
  Handle(Poly_Triangulation) myTriangulation;


};







#endif // _BRep_PolygonOnTriangulation_HeaderFile
