Synopsis

PDX_MSGT gdx_ConvertPlaneToNurbSurf(long option, MDA_PTR db_ptr, int model, void *gdx_nurb_surf)

Purpose

Convert a GDX bounded plane surface to a GDX NURB Surface

Description

Converts a GDX bounded plane surface entity to a GDX NURB Surface entity.

The bound values for the plane define the four(4) corner points of the NURBS plane surface.

If a conversion error occurs any data created during the conversion is deleted and no GDX NURB Surface is created.

The GDX bounded plane must be valid GDX definitions and both the U and V bound values must be defined.

The conversion is exact to the precision of the input data and to machine precision.

Input

option

GDX_COMMIT

Commit the GDX NURB Surface to the database

db_ptr

The valid GDX plnae entity database pointer

model

The model to create the GDX NURB Surface in

Output

gdx_nurb_surf

The GDX NURB Surface entity database pointer or structure pointer

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      GDX_INVALIDENTITYTYPE
      Low level error return
      .fi