Synopsis
PDX_MSGT gdx_SplitNurbCurveAtDiscont(long option, MDA_PTR db_ptr, double *cont_toler, int cont_deg, int model, long *num_of_cont_curvs, void *gdx_nurb_curves)
Purpose
Get the set of continuous GDX NURB Curves
Description
Gets the set of continuous GDX NURB Curves that are continuous to degree cont_deg within cont_toler. If the num_of_cont_curvs is equal to zero(0) than the original GDX NURB Curve was continuous everywhere to degree cont_deg and within cont_toler tolerance. The GDX NURB Curve entity must be a valid GDX definition.
Input
option
GDX_COMMIT
Commit the GDX entity to the database
GDX_GTEST
Test for G continuity for derivatives to 2
db_ptr
The GDX NURB Curve entity database pointer.
cont_toler
The continuity tolerance. The distance between the derivatives must be less then or equal this value to have derivative continuity .nf [0] = Model Space Distance (G0) [1] = Radian angular difference (G1) [2] = Curvature difference (G2) [3] = Normalized derivative difference .fi
cont_deg
The degree of continuity desired
model
The model where the new continuous GDX NRUBS entities are created
Output
num_of_cont_curvs
The number of continuous GDX NURB Curve entities
gdx_nurb_curves
The continuous GDX NURB Curve entity database pointers or structure pointers
Tolerances
NORMAL_MAG_TOL
ZERO_TOL
MODEL_SPACE_PNT_TOL
.fi
Return
GDX_NOERR
GDX_INVALIDMODEL
GDX_NOMEMORY
Low level error return
.fi