Synopsis

PDX_MSGT gdx_FaceConvertSurfToNurb(long option, MDA_PTR gdx_face_ptr)

Purpose

Convert the underlying surface of a face to a nurb.

Description

Check the faces surface to see if it is a nurb. If it is not, convert that surface to a nurb. delete any parm space curves.

A check is performed to determine if the surface is bounded. If it is not, GDX_FACENOTBOUND error will be returned. To bound the surfaces in a solid call gdx_SolidBoundSurf or call gdx_FaceBoundSurf to bound the surface within a single face.

Input

option

GDX_SPLINEONLY

Converts only the spline surfaces to nurbs

GDX_KEEP_OFFSET

Do not convert offset surfaces to nurbs

GDX_KEEP_PLANE

Do not convert planar surfaces to nurbs

GDX_KEEP_CYLINDER

Do not convert cylinder surfaces to nurbs

GDX_KEEP_CONE

Do not convert conical surfaces to nurbs

GDX_KEEP_EXT_SURF

Do not convert extruded surfaces to nurbs

GDX_KEEP_REV_SURF

Do not convert revolved surfaces to nurbs

GDX_KEEP_RULED_SURF

Do not convert ruled surfaces to nurbs

GDX_KEEP_SPHERE

Do not convert spherical surfaces to nurbs

GDX_KEEP_TORUS

Do not convert toroidalsurfaces to nurbs

gdx_face_ptr

The database pointer for the GDX face entity

Output

gdx_face_ptr

The database pointer for the GDX face entity

Tolerances

      MODEL_SPACE_PNT_TOL
      PARM_SPACE_PNT_TOL
      .fi

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      GDX_FACENOTBOUND
      Low level error return
      .fi