// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _DrawTrSurf_Polygon2D_HeaderFile
#define _DrawTrSurf_Polygon2D_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_DrawTrSurf_Polygon2D_HeaderFile
#include <Handle_DrawTrSurf_Polygon2D.hxx>
#endif

#ifndef _Handle_Poly_Polygon2D_HeaderFile
#include <Handle_Poly_Polygon2D.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Draw_Drawable2D_HeaderFile
#include <Draw_Drawable2D.hxx>
#endif
#ifndef _Handle_Draw_Drawable3D_HeaderFile
#include <Handle_Draw_Drawable3D.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Poly_Polygon2D;
class Draw_Display;
class Draw_Drawable3D;
class Draw_Interpretor;


//! Used to display a 2d polygon. <br>
//! <br>
//!          Optional display of nodes. <br>
class DrawTrSurf_Polygon2D : public Draw_Drawable2D {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT DrawTrSurf_Polygon2D(const Handle(Poly_Polygon2D)& P);


Standard_EXPORT   Handle_Poly_Polygon2D Polygon2D() const;


Standard_EXPORT   void ShowNodes(const Standard_Boolean B) ;


Standard_EXPORT   Standard_Boolean ShowNodes() const;


Standard_EXPORT   void DrawOn(Draw_Display& dis) const;

//! For variable copy. <br>
Standard_EXPORT virtual  Handle_Draw_Drawable3D Copy() const;

//! For variable dump. <br>
Standard_EXPORT virtual  void Dump(Standard_OStream& S) const;

//! For variable whatis command. Set  as a result  the <br>
//!          type of the variable. <br>
Standard_EXPORT virtual  void Whatis(Draw_Interpretor& I) const;
//Standard_EXPORT ~DrawTrSurf_Polygon2D();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Handle_Poly_Polygon2D myPolygon2D;
Standard_Boolean myNodes;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
