Synopsis

PDX_MSGT gdx_NurbCurveToParmSpl(long option, int model, MDA_PTR db_ptr, double clo_tol, void *gdx_pscur)

Purpose

Create a GDX Parametric Spline Curve from a non-rational GDX NURBS Curve.

Description

Create a GDX parametric spline curve from a GDX NURBS Curve. Only the relimited portion of the NURBS curve is converted. This function assumes that the GDX NURBS Curve corresponding to db_ptr is non-rational.

Input

option

GDX_COMMIT

Entity creation option. Commit GDX entity to the database. The default is do not commit.

model

The model to create the GDX entity in.

db_ptr

The GDX entity database pointer

clo_tol

Tolerance to check for closure of curves.

Output

gdx_pscur

Pointer to the created GDX parametric spline curve.

Return

      GDX_NOERR
      Low level return code
      .fi