File indexing completed on 2026-09-23 09:17:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BRepMeshData_Wire_HeaderFile
0017 #define _BRepMeshData_Wire_HeaderFile
0018
0019 #include <IMeshData_Wire.hxx>
0020 #include <IMeshData_Types.hxx>
0021
0022
0023 class BRepMeshData_Wire : public IMeshData_Wire
0024 {
0025 public:
0026 DEFINE_INC_ALLOC
0027
0028
0029 Standard_EXPORT BRepMeshData_Wire(const TopoDS_Wire& theWire,
0030 const int theEdgeNb,
0031 const occ::handle<NCollection_IncAllocator>& theAllocator);
0032
0033
0034 Standard_EXPORT ~BRepMeshData_Wire() override;
0035
0036
0037 Standard_EXPORT int EdgesNb() const override;
0038
0039
0040
0041 Standard_EXPORT int AddEdge(const IMeshData::IEdgePtr& theDEdge,
0042 const TopAbs_Orientation theOrientation) override;
0043
0044
0045 Standard_EXPORT const IMeshData::IEdgePtr& GetEdge(const int theIndex) const override;
0046
0047
0048 Standard_EXPORT TopAbs_Orientation GetEdgeOrientation(const int theIndex) const override;
0049
0050 DEFINE_STANDARD_RTTIEXT(BRepMeshData_Wire, IMeshData_Wire)
0051
0052 private:
0053 IMeshData::VectorOfIEdgePtrs myDEdges;
0054 IMeshData::VectorOfOrientation myDEdgesOri;
0055 };
0056
0057 #endif