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_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
0028 DEFINE_INC_ALLOC
0029
0030
0031 Standard_EXPORT BRepMeshData_Face (
0032 const TopoDS_Face& theFace,
0033 const Handle (NCollection_IncAllocator)& theAllocator);
0034
0035
0036 Standard_EXPORT virtual ~BRepMeshData_Face ();
0037
0038
0039 Standard_EXPORT virtual Standard_Integer WiresNb () const Standard_OVERRIDE;
0040
0041
0042 Standard_EXPORT virtual const IMeshData::IWireHandle& GetWire (
0043 const Standard_Integer theIndex) const Standard_OVERRIDE;
0044
0045
0046 Standard_EXPORT virtual const IMeshData::IWireHandle& AddWire (
0047 const TopoDS_Wire& theWire,
0048 const Standard_Integer theEdgeNb = 0) Standard_OVERRIDE;
0049
0050 DEFINE_STANDARD_RTTIEXT(BRepMeshData_Face, IMeshData_Face)
0051
0052 private:
0053
0054 Handle (NCollection_IncAllocator) myAllocator;
0055 IMeshData::VectorOfIWireHandles myDWires;
0056 };
0057
0058 #endif