Synopsis

PDX_MSGT gdx_SolidImproveFaceOrients(long option, MDA_PTR gdx_solid_ptr, int *solid_orient)

Purpose

Improve the orientation of all the Faces in the Solid

Description

Will improve the orientation of all the Faces in each Shell of the Solid. For more information see the function gdx_ShellImproveFaceOrients. First loop must be the outer loop in all faces to be improved (gdx_SolidImproveInOutLoopDir use GDX_NO_FIX_LOOP_DIRS option).

Input

option

No options

gdx_solid_ptr

The valid GDX Solid database pointer

Output

gdx_solid_ptr

The valid GDX Solid database pointer

solid_orient

GDX_OK

The data is good

GDX_IMPROVED

The orientation of the faces has been improved

GDX_NOT_GOOD

The faces were not oriented in the same direction. Returned only when the GDX_CHECK_ONLY is used.

GDX_IMPROVE_FAILED

The faces could not be oriented.

Tolerances

      MODEL_SPACE_PNT_TOL
      NORMAL_MAG_TOL
      ANGLE_TOL
      .fi

Return

      GDX_NOERR
      Low level error return
      .fi