Synopsis

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

Purpose

Convert a GDX conic to a GDX NURB Curve.

Description

Create a GDX quadratic Nurbs representation of a GDX conic arc (ellipse may be of any sweep angle from 0 to 360 degrees). The representation consists of only one quadratic segment for parabolas and hyperbolas. For an ellipse, it is 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 conic entity database pointer

Output

gdx_cur

Pointer to the created GDX NURB Curve.

Return

GDX_NOERR