26 #ifndef _GEOMAlgo_AlgoTools_HeaderFile
27 #define _GEOMAlgo_AlgoTools_HeaderFile
29 #include <Basics_OCCTVersion.hxx>
31 #include <Standard.hxx>
32 #include <Standard_Macro.hxx>
33 #include <Standard_Boolean.hxx>
34 #if OCC_VERSION_LARGE > 0x06070100
35 #include <IntTools_Context.hxx>
37 #include <BOPInt_Context.hxx>
39 #include <Standard_Integer.hxx>
42 #include <gp_Pnt2d.hxx>
44 #include <Geom_Surface.hxx>
46 #include <TopAbs_ShapeEnum.hxx>
48 #include <TopoDS_Face.hxx>
49 #include <TopoDS_Shape.hxx>
50 #include <TopoDS_Edge.hxx>
52 #include <TopTools_ListOfShape.hxx>
53 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
54 #include <TopTools_ListOfShape.hxx>
55 #include <TopTools_IndexedDataMapOfShapeShape.hxx>
71 const Standard_Real U,
72 const Standard_Real V,
80 static Standard_Integer
PntInFace(
const TopoDS_Face& theF,
94 const Standard_Real
aTol,
95 #
if OCC_VERSION_LARGE > 0x06070100
96 const Handle(IntTools_Context)& aCtx
98 const Handle(BOPInt_Context)& aCtx
103 static Standard_Integer
FindSDShapes(
const TopTools_ListOfShape& aLE,
104 const Standard_Real aTol,
105 TopTools_IndexedDataMapOfShapeListOfShape& aMEE,
106 #
if OCC_VERSION_LARGE > 0x06070100
107 const Handle(IntTools_Context)& aCtx
109 const Handle(BOPInt_Context)& aCtx
113 static Standard_Integer
FindSDShapes(
const TopoDS_Shape& aE1,
114 const TopTools_ListOfShape& aLE,
115 const Standard_Real aTol,
116 TopTools_ListOfShape& aLESD,
117 #
if OCC_VERSION_LARGE > 0x06070100
118 const Handle(IntTools_Context)& aCtx
120 const Handle(BOPInt_Context)& aCtx
134 const Standard_Real aT,gp_Pnt& aP3D) ;
142 const Standard_Real aU,
143 const Standard_Real aV,
147 const TopoDS_Shape& aS,
149 #
if OCC_VERSION_LARGE > 0x06070100
150 const Handle(IntTools_Context)& aCtx
152 const Handle(BOPInt_Context)& aCtx
158 const Standard_Real aMaxTol=0.0001);
162 const Standard_Real aMaxTol=0.0001);
166 const Standard_Real aMaxTol=0.0001);
171 const TopoDS_Edge& aEF2,
172 #
if OCC_VERSION_LARGE > 0x06070100
173 const Handle(IntTools_Context)& aCtx
175 const Handle(BOPInt_Context)& aCtx
180 const TopoDS_Face& aF,
181 const Standard_Real aUMin,
182 const Standard_Real aUMax);
193 const TopoDS_Edge& theEdge,
194 #
if OCC_VERSION_LARGE > 0x06070100
195 const Handle(IntTools_Context)& theCtx
197 const Handle(BOPInt_Context)& theCtx
203 const TopoDS_Face& theFSr,
204 #
if OCC_VERSION_LARGE > 0x06070100
205 const Handle(IntTools_Context)& theCtx
207 const Handle(BOPInt_Context)& theCtx
213 const TopoDS_Shape& theSr,
214 #
if OCC_VERSION_LARGE > 0x06070100
215 const Handle(IntTools_Context)& theCtx
217 const Handle(BOPInt_Context)& theCtx
222 const TopoDS_Edge& aEnew,
223 const TopoDS_Face& aF,
224 #
if OCC_VERSION_LARGE > 0x06070100
225 const Handle(IntTools_Context)& aCtx
227 const Handle(BOPInt_Context)& aCtx
241 static void CopyShape(
const TopoDS_Shape& aS,
245 static void CopyShape(
const TopoDS_Shape& aS,
247 TopTools_IndexedDataMapOfShapeShape& aMSS) ;