# A3DMiscComputeBoundingBox

A3DStatus `A3DMiscComputeBoundingBox`(const A3DEntity *pEntity, const A3DMiscComputeBoundingBoxOptions *pOptions, A3DBoundingBoxData *pAABB)
  `A3DStatus` A3DMiscComputeBoundingBox(const `A3DEntity`* pEntity, const `A3DMiscComputeBoundingBoxOptions`* pOptions, `A3DBoundingBoxData`* pAABB)

  Use the tessellation to compute the axis-aligned bounding box (AABB) of the given entity.

  An invalid bounding box corresponds to those values:

  - `A3DBoundingBoxData::m_sMin`is `{1.0, 0.0, 0.0}`
  - `A3DBoundingBoxData::m_sMax`is `{-1.0, 0.0, 0.0}`

  It can occur under following conditions:

  - The computation is done on infinite elements.

  - The CAD data do not contain any tessellation.

  - `pEntity`is of type `A3DRiPlane`.

    > This function computesthe bounding box using tessellation data. If you want to read the actual bounding box from CAD data, see `A3DMiscGetBoundingBox()`.

  Parameters

  > pEntity: The Entity to get the bounding box from. It can be any of `A3DAsmModelFile`, `A3DAsmProductOccurrence`, `A3DAsmPartDefinition`or `A3DRiSet`.

  > pOptions: Options of the function. Can be NULL.

  > pAABB: A pointer to a valid `A3DBoundingBoxData`which will be filled in with the computed bounding box. If not possible an invalid bounding box is filled in (see below).

  Returns

  > `A3D_SUCCESS`on success, or an error code on failure

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
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...