File indexing completed on 2026-09-12 09:16:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BRepMeshData_Face_HeaderFile
0017 #define _BRepMeshData_Face_HeaderFile
0018
0019 #include <IMeshData_Types.hxx>
0020 #include <IMeshData_Face.hxx>
0021 #include <IMeshData_Wire.hxx>
0022
0023
0024 class BRepMeshData_Face : public IMeshData_Face
0025 {
0026 public:
0027 DEFINE_INC_ALLOC
0028
0029
0030 Standard_EXPORT BRepMeshData_Face(const TopoDS_Face& theFace,
0031 const occ::handle<NCollection_IncAllocator>& theAllocator);
0032
0033
0034 Standard_EXPORT ~BRepMeshData_Face() override;
0035
0036
0037 Standard_EXPORT int WiresNb() const override;
0038
0039
0040 Standard_EXPORT const IMeshData::IWireHandle& GetWire(const int theIndex) const override;
0041
0042
0043 Standard_EXPORT const IMeshData::IWireHandle& AddWire(const TopoDS_Wire& theWire,
0044 const int theEdgeNb = 0) override;
0045
0046 DEFINE_STANDARD_RTTIEXT(BRepMeshData_Face, IMeshData_Face)
0047
0048 private:
0049 occ::handle<NCollection_IncAllocator> myAllocator;
0050 IMeshData::VectorOfIWireHandles myDWires;
0051 };
0052
0053 #endif