Synopsis
PDX_MSGT gdx_ConvertPolylineToNurbCurve(long option, MDA_PTR gdx_poly_db_ptr, int model, void *gdx_nurb_curve)
Purpose
Convert a GDX polyline to a GDX NURB Curve
Description
Converts a GDX polyline entity to a GDX NURB Curve entity.
If a conversion error occurs any data created during the conversion is deleted and no GDX NURB Curve is created.
The GDX polyline entity must be a valid GDX definition.
The conversion is exact to the precision of the input data and to machine precision.
Input
option
GDX_COMMIT
Commit the GDX NURB Curve to the database
gdx_poly_db_ptr
The valid GDX polyline 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 the GDX NURB curve entity structure
Return
GDX_NOERR
GDX_INVALIDENTITYTYPE
GDX_INVALIDMODEL
GDX_NOMEMORY
Low level error return
.fi