Synopsis

PDX_MSGT gdx_GetNurbSurfBoundsAsCurve(long option, MDA_PTR db_ptr, int model, void *gdx_nurb_curve)

Purpose

Extracts the boundary curve from the GDX NURB Surface as a GDX NURB Curve.

Description

Extracts the boundary curve from the GDX NURB Surface entity as a GDX NURB Curve entity. The boundary curve is formed from the set of 4 iso-parametric curves defined by the GDX NURB Surface boundary values and concatentated together to form one composited GDX NURB Curve of the surface boundary.

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

The GDX NURB Surface entity must be a valid GDX definition.

Input

option

GDX_COMMIT

Commit the GDX NURB curve to the database

db_ptr

The valid GDX NURB Surface entity database pointer

model

The model to create the GDX NURB Curve in

Output

gdx_nurb_curve

The GDX NURB curve entity database pointer or structure pointer

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      GDX_INVALIDENTITYTYPE
      Low level error return
      .fi