
#################################
A3DTopoFaceGetShellAndOrientation
#################################

.. c:function:: A3DStatus A3DTopoFaceGetShellAndOrientation(A3DTopoBrepData const *psBrepData, A3DTopoFace const *psFace, A3DTopoShell const **ppsShell, A3DUns8 *pusOrientation)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DTopoFaceGetShellAndOrientation(:c:type:`~A3DTopoBrepData`\ \* **psBrepData**\ , :c:type:`~A3DTopoFace`\ \* **psFace**\ , :c:type:`~A3DTopoShell`\ \*\* **ppsShell**\ , :c:type:`~A3DUns8`\ \* **pusOrientation**\ )
   
   Return the owning :c:type:`~A3DTopoShell` of the :c:type:`~A3DTopoFace` and the orientation between them inside the given :c:type:`~A3DTopoBrepData`\ .
   
   
      Possible values for ``pusOrientation`` are as follows:
   
   
      - 0: Opposite orientation 
      - 1: Same orientation for face and shell 
      - 2: Unknown orientation
   
   
   
      11.1
   
   
   **Return Values**
   
   
      **A3D_INVALID_DATA_STRUCT_SIZE**\ :
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ :
   
      **A3D_SUCCESS**\ :
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




