Synopsis

PDX_MSGT gdx_FaceToCBS(long option, MDA_PTR gdx_face_ptr, PDX_BOOL face_sense, MDA_PTR *gdx_cbs_ptr)

Purpose

Convert a GDX Face to a GDX CBS.

Description

Convert a GDX Face to a GDX CBS. First convert each loop to a CEC and then create a new CBS. All new EC's will be created. If the face contains a false surface sense, the surface will be reversed, and parm curves will be deleted. The GDX analytical surfaces, cone, cylinder, sphere, and torus can not be reversed, they will be converted to different surfaces. The orignal parm curves will be deleted. Infinite surfaces can not be reversed, they must be bounded first.

Input

option

Options (Not Used)

gdx_face_ptr

The database pointer for the GDX face entity

face_sense

Usage of face within shell

Output

gdx_cbs_ptr

Pointer to the DB pointer of the new CBS.

Tolerances

      MODEL_SPACE_PNT_TOL
      PARM_SPACE_PNT_TOL
      ANGLE_TOL
      ZERO_TOL
      
      .fi

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      Low level error return
      .fi