
#####################
A3DMiscGetBoundingBox
#####################

.. c:function:: A3DStatus A3DMiscGetBoundingBox(const A3DEntity *pEntity, A3DBoundingBoxData *pAABB)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DMiscGetBoundingBox(*const* :c:type:`~A3DEntity`\ \* **pEntity**\ , :c:struct:`~A3DBoundingBoxData`\ \* **pAABB**\ )
   
   Read the axis-aligned bounding box (AABB) of the given :c:type:`~A3DEntity`\ directly from the CAD data.
   
   **Parameters**
   
   
      **pEntity**\ : The Entity to get the bounding box from. It can be any of :c:type:`~A3DAsmModelFile`\ , :c:type:`~A3DAsmProductOccurrence`\ , :c:type:`~A3DAsmPartDefinition`\ or :c:type:`~A3DRiSet`\ .
   
      **pAABB**\ : A pointer to a valid :c:struct:`~A3DBoundingBoxData`\ which will be filled in with the found bounding box. If no AABB is found in the CAD data, :c:member:`A3DBoundingBoxData::m_sMin <A3DBoundingBoxData.m_sMin>`\ and :c:member:`A3DBoundingBoxData::m_sMax <A3DBoundingBoxData.m_sMax>`\ will be set to zero vectors ({0.0, 0.0, 0.0}).
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




