CDPGeometrySpec

Functions

~CDPGeometrySpec

cdp_size_t

geometryIndex

cdp_int_t

stateId

Detailed Description

class CDPGeometrySpec

An identifier of a geometry.

Public Functions

inline virtual ~CDPGeometrySpec()
virtual cdp_size_t geometryIndex() const = 0

Returns the zero based index of the geometry to get.

For the normal case of only one geometry, this will be 0.

virtual cdp_int_t stateId() const = 0

Returns the id of the state to get the geometry for.

For non-adaptive geometries this can be ignored, as the geometry is the same for all states. See CDPGeometryInfo::setHasAdaptiveGeometry for more info on adaptive geometries.