A3DTopoFaceGetShellAndOrientation

A3DStatus A3DTopoFaceGetShellAndOrientation(A3DTopoBrepData const *psBrepData, A3DTopoFace const *psFace, A3DTopoShell const **ppsShell, A3DUns8 *pusOrientation)
A3DStatus A3DTopoFaceGetShellAndOrientation(A3DTopoBrepData* psBrepData, A3DTopoFace* psFace, A3DTopoShell** ppsShell, A3DUns8* pusOrientation)

Return the owning A3DTopoShell of the A3DTopoFace and the orientation between them inside the given 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