# 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.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...