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:

See also

DataSurfaceGroup

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.