File indexing completed on 2026-05-20 08:17:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _IMeshData_Model_HeaderFile
0017 #define _IMeshData_Model_HeaderFile
0018
0019 #include <IMeshData_Shape.hxx>
0020 #include <Standard_Type.hxx>
0021 #include <TopoDS_Shape.hxx>
0022 #include <IMeshData_Types.hxx>
0023
0024 class TopoDS_Face;
0025 class TopoDS_Edge;
0026
0027
0028 class IMeshData_Model : public IMeshData_Shape
0029 {
0030 public:
0031
0032 virtual ~IMeshData_Model() {}
0033
0034
0035 Standard_EXPORT virtual Standard_Real GetMaxSize() const = 0;
0036
0037 DEFINE_STANDARD_RTTIEXT(IMeshData_Model, IMeshData_Shape)
0038
0039 public:
0040
0041 Standard_EXPORT virtual Standard_Integer FacesNb() const = 0;
0042
0043
0044 Standard_EXPORT virtual const IMeshData::IFaceHandle& AddFace(const TopoDS_Face& theFace) = 0;
0045
0046
0047 Standard_EXPORT virtual const IMeshData::IFaceHandle& GetFace(
0048 const Standard_Integer theIndex) const = 0;
0049
0050 public:
0051
0052 Standard_EXPORT virtual Standard_Integer EdgesNb() const = 0;
0053
0054
0055 Standard_EXPORT virtual const IMeshData::IEdgeHandle& AddEdge(const TopoDS_Edge& theEdge) = 0;
0056
0057
0058 Standard_EXPORT virtual const IMeshData::IEdgeHandle& GetEdge(
0059 const Standard_Integer theIndex) const = 0;
0060
0061 protected:
0062
0063
0064 IMeshData_Model(const TopoDS_Shape& theShape)
0065 : IMeshData_Shape(theShape)
0066 {
0067 }
0068 };
0069
0070 #endif