Synopsis
PDX_MSGT gdb_MeasureSurfaceComplexity(long option, MDA_PTR gdx_surf_ptr, double *score, GDB_SURF_COMPLEXITY *gdb_sur_scores, double *u_width, double *v_width, double *area)
Purpose
Measures the complexity of a GDX surface
Description
Measures the complexity of a GDX surface. Analyzes the surface and assigns a score based on the geometric, parametric, and data complexity of the surface.
Input
option
GDB_LEAST_ACCURACY
Use the least accurate but fastest method.
GDB_MID_ACCURACY
Use middle accuracy method.
GDB_MOST_ACCURACY
Use most accurate but slowest method.
gdx_surf_ptr
The GDX surface to be analyzed.
Output
score
The complexity score.
gdb_sur_scores
If this pointer is NULL, then it is not used. Otherwise, the individual scores for each category are returned.
u_width
The approximate average width of the surface in the u-direction. Not returned for unbounded analytics and extrudes.
v_width
The approximate average width of the surface in the v-direction. Not returned for unbounded analytics and extrudes.
area
The approximate area of the surface. Not returned for unbounded analytics and extrudes.
Return
GDB_NOERR
Low level error return
.fi