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

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

#include <Standard_Boolean.hxx>
#include <TopoDS_Shape.hxx>
#include <TopAbs_Orientation.hxx>
#include <LocOpe_Operation.hxx>
#include <TopTools_IndexedDataMapOfShapeShape.hxx>
#include <TopTools_DataMapOfShapeShape.hxx>
#include <TopTools_DataMapOfShapeListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
class StdFail_NotDone;
class Standard_NoSuchObject;
class Standard_ConstructionError;
class TopoDS_Shape;
class TopoDS_Face;
class TopoDS_Edge;
class TopTools_ListOfShape;



class LocOpe_Gluer 
{
public:

  DEFINE_STANDARD_ALLOC

  
    LocOpe_Gluer();
  
    LocOpe_Gluer(const TopoDS_Shape& Sbase, const TopoDS_Shape& Snew);
  
  Standard_EXPORT   void Init (const TopoDS_Shape& Sbase, const TopoDS_Shape& Snew) ;
  
  Standard_EXPORT   void Bind (const TopoDS_Face& Fnew, const TopoDS_Face& Fbase) ;
  
  Standard_EXPORT   void Bind (const TopoDS_Edge& Enew, const TopoDS_Edge& Ebase) ;
  
      LocOpe_Operation OpeType()  const;
  
  Standard_EXPORT   void Perform() ;
  
      Standard_Boolean IsDone()  const;
  
     const  TopoDS_Shape& ResultingShape()  const;
  
  Standard_EXPORT  const  TopTools_ListOfShape& DescendantFaces (const TopoDS_Face& F)  const;
  
     const  TopoDS_Shape& BasisShape()  const;
  
     const  TopoDS_Shape& GluedShape()  const;
  
  Standard_EXPORT  const  TopTools_ListOfShape& Edges()  const;
  
  Standard_EXPORT  const  TopTools_ListOfShape& TgtEdges()  const;




protected:





private:

  
  Standard_EXPORT   void AddEdges() ;


  Standard_Boolean myDone;
  TopoDS_Shape mySb;
  TopoDS_Shape mySn;
  TopoDS_Shape myRes;
  TopAbs_Orientation myOri;
  LocOpe_Operation myOpe;
  TopTools_IndexedDataMapOfShapeShape myMapEF;
  TopTools_DataMapOfShapeShape myMapEE;
  TopTools_DataMapOfShapeListOfShape myDescF;
  TopTools_ListOfShape myEdges;
  TopTools_ListOfShape myTgtEdges;


};


#include <LocOpe_Gluer.lxx>





#endif // _LocOpe_Gluer_HeaderFile
