Synopsis

PDX_MSGT gdx_ConvertSurfaceToFace(long option, int gdx_model, double tolerance, int max_iters, MDA_PTR gdx_surf_ptr, MDA_PTR *gdx_face_ptr)

Purpose

Convert a GDX surface entity to a GDX Face entity

Description

Converts the following entity types to GDX_FACE: .nf .RS 3 GDX_NURB_SURF GDX_SPLINE_SURF GDX_RULED_SURF GDX_REV_SURF GDX_EXT_SURF GDX_OFFSET_SURF GDX_RECT_TRIM_SURF GDX_PLANE GDX_CONE GDX_CYLINDER GDX_SPHERE GDX_TORUS .RE .fi

Input

option

Options (not used)

gdx_model

The model to create the GDX surface in

tolerance

The tolerance to be used for approximation

max_iters

The maximum number of iterations for approximation

gdx_surf_ptr

The GDX surface database pointer

Output

gdx_face_ptr

The GDX face database pointer.

Return

      GDX_NOERR
      GDX_ENTITYNOTSURFACE
      Low level error return
      .fi