File indexing completed on 2026-08-25 09:13:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BRepOffsetAPI_MiddlePath_HeaderFile
0017 #define _BRepOffsetAPI_MiddlePath_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021
0022 #include <TopoDS_Shape.hxx>
0023 #include <TopoDS_Wire.hxx>
0024 #include <TopTools_MapOfShape.hxx>
0025 #include <BRepOffsetAPI_SequenceOfSequenceOfShape.hxx>
0026 #include <BRepBuilderAPI_MakeShape.hxx>
0027
0028
0029
0030 class BRepOffsetAPI_MiddlePath : public BRepBuilderAPI_MakeShape
0031 {
0032 public:
0033 DEFINE_STANDARD_ALLOC
0034
0035
0036
0037
0038 Standard_EXPORT BRepOffsetAPI_MiddlePath(const TopoDS_Shape& aShape,
0039 const TopoDS_Shape& StartShape,
0040 const TopoDS_Shape& EndShape);
0041
0042 Standard_EXPORT virtual void Build(
0043 const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
0044
0045 protected:
0046 private:
0047 TopoDS_Shape myInitialShape;
0048 TopoDS_Wire myStartWire;
0049 TopoDS_Wire myEndWire;
0050 Standard_Boolean myClosedSection;
0051 Standard_Boolean myClosedRing;
0052 TopTools_MapOfShape myStartWireEdges;
0053 TopTools_MapOfShape myEndWireEdges;
0054 BRepOffsetAPI_SequenceOfSequenceOfShape myPaths;
0055 };
0056
0057 #endif