cee::ug::DataSurfaceGroupItem
-
class
DataSurfaceGroupItem This class identifies an element face within an UnstructGrid model and is used as an item in a DataSurfaceGroup.
An element face is uniquely identified within a UnstructGrid DataSource by four numbers:
- Geometry id: id of the corresponding DataGeometry as returned by DataGeometry::id()
- Part id: id of the corresponding DataPart of the DataGeometry as returned by DataPart::partId()
- Element index: index of the element in the DataElements of the DataPart
- Local face index: index of the face within the element
See also
Public Functions
-
DataSurfaceGroupItem() Constructs an empty item.
-
DataSurfaceGroupItem(int geometryId, int partId, size_t elementIndex, int localFaceIndex) Constructs a surface group item with the given data.
-
DataSurfaceGroupItem(const DataSurfaceGroupItem &other) Copy constructor.
-
DataSurfaceGroupItem &
operator=(const DataSurfaceGroupItem &other) Assignment operator.
-
bool
operator==(const DataSurfaceGroupItem &rhs) const Returns true if this item is equal to the given rhs item.
-
bool
operator!=(const DataSurfaceGroupItem &rhs) const Returns true if this item is not equal to the given rhs item.
-
int
geometryId() const Returns the geometry id.
-
void
setGeometryId(int geometryId) Sets the geometry id.
-
int
partId() const Returns the part id.
-
void
setPartId(int partId) Sets the part id.
-
size_t
elementIndex() const Returns the element index.
-
void
setElementIndex(size_t elementIndex) Sets the element index.
-
int
localFaceIndex() const Returns the local face index within the element.
-
void
setLocalFaceIndex(int localFaceIndex) Sets the local face index within the element.