0027386: BRepOffsetAPI_MakePipeShell does not provide history of generations
[occt.git] / src / BRepFill / BRepFill_SectionLaw.hxx
index ba26ed0..8d5dfcf 100644 (file)
@@ -21,6 +21,7 @@
 #include <Standard_Type.hxx>
 
 #include <GeomFill_HArray1OfSectionLaw.hxx>
+#include <TopTools_DataMapOfShapeInteger.hxx>
 #include <Standard_Boolean.hxx>
 #include <BRepTools_WireExplorer.hxx>
 #include <MMgt_TShared.hxx>
@@ -33,7 +34,6 @@ class TopoDS_Shape;
 class TopoDS_Wire;
 class TopoDS_Edge;
 
-
 class BRepFill_SectionLaw;
 DEFINE_STANDARD_HANDLE(BRepFill_SectionLaw, MMgt_TShared)
 
@@ -48,6 +48,8 @@ public:
   
   Standard_EXPORT const Handle(GeomFill_SectionLaw)& Law (const Standard_Integer Index) const;
   
+  Standard_EXPORT Standard_Integer IndexOfEdge(const TopoDS_Shape& anEdge) const;
+  
   Standard_EXPORT virtual Standard_Boolean IsConstant() const = 0;
   
   Standard_EXPORT Standard_Boolean IsUClosed() const;
@@ -56,7 +58,7 @@ public:
   
   Standard_EXPORT Standard_Boolean IsDone() const;
   
-  //! Say if the input sahpe is a  vertex.
+  //! Say if the input shape is a  vertex.
   Standard_EXPORT virtual Standard_Boolean IsVertex() const = 0;
   
   Standard_EXPORT virtual Handle(GeomFill_SectionLaw) ConcatenedLaw() const = 0;
@@ -85,6 +87,7 @@ protected:
   Standard_Boolean uclosed;
   Standard_Boolean vclosed;
   Standard_Boolean myDone;
+  TopTools_DataMapOfShapeInteger myIndices;
 
 
 private: