// 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_Triangulation_HeaderFile
#define _PPoly_Triangulation_HeaderFile

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

#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_PColgp_HArray1OfPnt.hxx>
#include <Handle_PColgp_HArray1OfPnt2d.hxx>
#include <Handle_PPoly_HArray1OfTriangle.hxx>
#include <Standard_Persistent.hxx>
class PColgp_HArray1OfPnt;
class PColgp_HArray1OfPnt2d;
class PPoly_HArray1OfTriangle;


class PPoly_Triangulation : public Standard_Persistent
{

public:

  
  //! Defaults with allocation of Nodes and Triangles.
  Standard_EXPORT PPoly_Triangulation(const Standard_Real Defl, const Handle(PColgp_HArray1OfPnt)& Nodes, const Handle(PPoly_HArray1OfTriangle)& Triangles);
  
  //! Defaults with allocation of Nodes and Triangles.
  Standard_EXPORT PPoly_Triangulation(const Standard_Real Defl, const Handle(PColgp_HArray1OfPnt)& Nodes, const Handle(PColgp_HArray1OfPnt2d)& UVNodes, const Handle(PPoly_HArray1OfTriangle)& Triangles);
  
  Standard_EXPORT   Standard_Real Deflection()  const;
  
  Standard_EXPORT   void Deflection (const Standard_Real D) ;
  
  //! Null if the nodes are not yet defined.
  Standard_EXPORT   Standard_Integer NbNodes()  const;
  
  //! Null if the Triangles are not yet defined.
  Standard_EXPORT   Standard_Integer NbTriangles()  const;
  
  Standard_EXPORT   Standard_Boolean HasUVNodes()  const;
  
  //! Const reference on the 3d nodes values.
  Standard_EXPORT   Handle(PColgp_HArray1OfPnt) Nodes()  const;
  
  //! Const reference on the 2d nodes values.
  Standard_EXPORT   Handle(PColgp_HArray1OfPnt2d) UVNodes()  const;
  
  //! Const reference on the triangles.
  Standard_EXPORT   Handle(PPoly_HArray1OfTriangle) Triangles()  const;

PPoly_Triangulation( )
{
  
}
PPoly_Triangulation(const Storage_stCONSTclCOM& a) : Standard_Persistent(a)
{
  
}
    Standard_Real _CSFDB_GetPPoly_TriangulationmyDeflection() const { return myDeflection; }
    void _CSFDB_SetPPoly_TriangulationmyDeflection(const Standard_Real p) { myDeflection = p; }
    Handle(PColgp_HArray1OfPnt) _CSFDB_GetPPoly_TriangulationmyNodes() const { return myNodes; }
    void _CSFDB_SetPPoly_TriangulationmyNodes(const Handle(PColgp_HArray1OfPnt)& p) { myNodes = p; }
    Handle(PColgp_HArray1OfPnt2d) _CSFDB_GetPPoly_TriangulationmyUVNodes() const { return myUVNodes; }
    void _CSFDB_SetPPoly_TriangulationmyUVNodes(const Handle(PColgp_HArray1OfPnt2d)& p) { myUVNodes = p; }
    Handle(PPoly_HArray1OfTriangle) _CSFDB_GetPPoly_TriangulationmyTriangles() const { return myTriangles; }
    void _CSFDB_SetPPoly_TriangulationmyTriangles(const Handle(PPoly_HArray1OfTriangle)& p) { myTriangles = p; }



  DEFINE_STANDARD_RTTI(PPoly_Triangulation)

protected:




private: 


  Standard_Real myDeflection;
  Handle(PColgp_HArray1OfPnt) myNodes;
  Handle(PColgp_HArray1OfPnt2d) myUVNodes;
  Handle(PPoly_HArray1OfTriangle) myTriangles;


};







#endif // _PPoly_Triangulation_HeaderFile
