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

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Standard_Real.hxx>
#include <Intf_Polygon2d.hxx>
#include <Standard_Integer.hxx>
class Standard_OutOfRange;
class gp_Pnt2d;



class IntPatch_Polygo  : public Intf_Polygon2d
{
public:

  DEFINE_STANDARD_ALLOC

  
      Standard_Real Error()  const;
  
  Standard_EXPORT virtual   Standard_Integer NbPoints()  const = 0;
  
  Standard_EXPORT virtual   gp_Pnt2d Point (const Standard_Integer Index)  const = 0;
  
  //! Returns the tolerance of the polygon.
    virtual   Standard_Real DeflectionOverEstimation()  const;
  
  //! Returns the number of Segments in the polyline.
    virtual   Standard_Integer NbSegments()  const;
  
  //! Returns the points of the segment <Index> in the Polygon.
    virtual   void Segment (const Standard_Integer theIndex, gp_Pnt2d& theBegin, gp_Pnt2d& theEnd)  const;
  
  Standard_EXPORT   void Dump()  const;




protected:

  
  Standard_EXPORT IntPatch_Polygo(const Standard_Real theError = 0.0);


  Standard_Real myError;


private:





};


#include <IntPatch_Polygo.lxx>





#endif // _IntPatch_Polygo_HeaderFile
