Synopsis

PDX_MSGT gdx_FaceRTSToSurface(long option, double approx_tol, MDA_PTR gdx_face_ptr, PDX_BOOL *modified)

Purpose

Convert face with RTS surface to face surface without RTS.

Description

Check surface of the input face. If it is a Rectangular Trimmed Surface (RTS), convert the surface to an untrimmed surface. This conversion is based on the function gdx_ConvertRTSToSurface. The conversion may change the parameterization of the surface. If it does, the UV curves will be deleted from within the Face. If the application requires parameter space curves, use the function gdx_FaceGenerateParmCurves. The modified flag will be set if the face contained a RTS that got converted to an untrimmed surface.

Input

option

Options not used

approx_tol

Approximation tolerance to use if conversion is not exact. See gdx_ConvertRTSToSurface.

gdx_face_ptr

The database pointer for the GDX face entity

Output

gdx_face_ptr

The database pointer for the GDX face entity

modified

Flag indicating if the face was changed

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      Low level error return
      .fi