File indexing completed on 2025-01-18 10:04:05
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
0033 virtual ~IMeshData_Model()
0034 {
0035 }
0036
0037
0038 Standard_EXPORT virtual Standard_Real GetMaxSize () const = 0;
0039
0040 DEFINE_STANDARD_RTTIEXT(IMeshData_Model, IMeshData_Shape)
0041
0042 public:
0043
0044
0045 Standard_EXPORT virtual Standard_Integer FacesNb () const = 0;
0046
0047
0048 Standard_EXPORT virtual const IMeshData::IFaceHandle& AddFace (const TopoDS_Face& theFace) = 0;
0049
0050
0051 Standard_EXPORT virtual const IMeshData::IFaceHandle& GetFace (const Standard_Integer theIndex) const = 0;
0052
0053 public:
0054
0055
0056 Standard_EXPORT virtual Standard_Integer EdgesNb () const = 0;
0057
0058
0059 Standard_EXPORT virtual const IMeshData::IEdgeHandle& AddEdge (const TopoDS_Edge& theEdge) = 0;
0060
0061
0062 Standard_EXPORT virtual const IMeshData::IEdgeHandle& GetEdge (const Standard_Integer theIndex) const = 0;
0063
0064 protected:
0065
0066
0067
0068 IMeshData_Model (const TopoDS_Shape& theShape)
0069 : IMeshData_Shape(theShape)
0070 {
0071 }
0072 };
0073
0074 #endif