Synopsis

PDX_MSGT gdx_CircleToNurbCurve(long option, int model, MDA_PTR db_ptr, void *gdx_cur)

Purpose

Convert a GDX circle to a GDX NURB Curve circle.

Description

Create a GDX quadratic Nurbs representation of a GDX full circle or circular arc. The representation consists of a sequence of arcs, pieced together using double knots. No arc sweeps more than 90 degrees.

Input

option

GDX_COMMIT

Commit GDX entity to the database.

model

The GDX model for entity creation.

db_ptr

The GDX circle entity database pointer

Output

gdx_cur

Pointer to the created GDX NURB Curve circle.

Return

GDX_NOERR