File indexing completed on 2025-01-18 10:03:15
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
0027 DEFINE_INC_ALLOC
0028
0029
0030 Standard_EXPORT BRepMeshData_Wire (
0031 const TopoDS_Wire& theWire,
0032 const Standard_Integer theEdgeNb,
0033 const Handle (NCollection_IncAllocator)& theAllocator);
0034
0035
0036 Standard_EXPORT virtual ~BRepMeshData_Wire ();
0037
0038
0039 Standard_EXPORT virtual Standard_Integer EdgesNb () const Standard_OVERRIDE;
0040
0041
0042
0043 Standard_EXPORT virtual Standard_Integer AddEdge (
0044 const IMeshData::IEdgePtr& theDEdge,
0045 const TopAbs_Orientation theOrientation) Standard_OVERRIDE;
0046
0047
0048 Standard_EXPORT virtual const IMeshData::IEdgePtr& GetEdge (
0049 const Standard_Integer theIndex) const Standard_OVERRIDE;
0050
0051
0052 Standard_EXPORT virtual TopAbs_Orientation GetEdgeOrientation (
0053 const Standard_Integer theIndex) const Standard_OVERRIDE;
0054
0055 DEFINE_STANDARD_RTTIEXT(BRepMeshData_Wire, IMeshData_Wire)
0056
0057 private:
0058
0059 IMeshData::VectorOfIEdgePtrs myDEdges;
0060 IMeshData::VectorOfOrientation myDEdgesOri;
0061 };
0062
0063 #endif