Synopsis
PDX_MSGT gdx_SplitNurbSurfAtDiscont(long option, MDA_PTR db_ptr, double *cont_toler, int cont_deg, int model, long *num_of_cont_surf, void *gdx_nurb_surfs)
Purpose
Get the set of continuous GDX NURB Surfaces
Description
Gets the set of continuous GDX NURB Surfaces that are continuous to degree cont_deg within cont_toler. If the num_of_cont_surf is equal to zero(0) than the original GDX NURB Surface was continuous everywhere to degree cont_deg and within cont_toler tolerance. The GDX NURB Surface entity must be a valid GDX definition.
Input
option
GDX_GTEST
Test for G continuity for derivatives to 2
GDX_COMMIT
Commit the definition to the database
db_ptr
The GDX NURB Surface 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 NURB Surface entities are created
Output
num_of_cont_surf
The number of continuous GDX NURB Surface entities
gdx_nurb_surfs
The continuous GDX NURB Surface entity database pointers or structure pointers
Tolerances
NORMAL_MAG_TOL
ZERO_TOL
MODEL_SPACE_PNT_TOL
.fi
Return
GDX_NOERR
GDX_NOMEMORY
GDX_INVALIDMODEL
Low level error return
.fi