# CDPResultSpec

## Functions

| `~CDPResultSpec`
cdp_size_t | `geometryIndex`
cdp_int_t | `resultId`
cdp_int_t | `stateId`

## Detailed Description

class `CDPResultSpec`

  An identifier of a result.

  Public Functions

  inline virtual `~CDPResultSpec`()
  virtual cdp_size_t `geometryIndex`() const = 0

    Return the zero based index of the geometry to get results for.

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

  virtual cdp_int_t `resultId`() const = 0

    Returns the id of the result to get.

    This will always be one of the results provided in the meta data with CDPMetaData::addResultInfo

  virtual cdp_int_t `stateId`() const = 0

    Returns the id of the state to get results for.

    This will always be one of the states provided in the meta data with CDPMetaData::addStateInfo

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