File indexing completed on 2025-01-18 10:03:16
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
0031 class BRepOffsetAPI_MiddlePath : public BRepBuilderAPI_MakeShape
0032 {
0033 public:
0034
0035 DEFINE_STANDARD_ALLOC
0036
0037
0038
0039
0040
0041 Standard_EXPORT BRepOffsetAPI_MiddlePath(const TopoDS_Shape& aShape, const TopoDS_Shape& StartShape, const TopoDS_Shape& EndShape);
0042
0043 Standard_EXPORT virtual void Build(const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
0044
0045
0046
0047
0048 protected:
0049
0050
0051
0052
0053
0054 private:
0055
0056
0057
0058 TopoDS_Shape myInitialShape;
0059 TopoDS_Wire myStartWire;
0060 TopoDS_Wire myEndWire;
0061 Standard_Boolean myClosedSection;
0062 Standard_Boolean myClosedRing;
0063 TopTools_MapOfShape myStartWireEdges;
0064 TopTools_MapOfShape myEndWireEdges;
0065 BRepOffsetAPI_SequenceOfSequenceOfShape myPaths;
0066
0067
0068 };
0069
0070
0071
0072
0073
0074
0075
0076 #endif