# Synopsis

PDX_MSGT gdx_GetNurbSurfContinuity(long option, MDA_PTR db_ptr, double *cont_toler, int *u_cont_deg, int *v_cont_deg)

# Purpose

Determine the GDX NURB Surface continuity

# Description

Given a GDX NURB Surface, determines the minimium continuity between all the patches in the GDX NURB Surface entity to withn the cont_toler tolerances. The u_cont_deg and v_cont_deg values can vary from -1 for discontinuous to a maximium of the degree in U and the degree in V respectively of the GDX NURB Surface. The GDX NURB Surface entity must be a valdi GDX definition.

# Input

## option

### GDX_GTEST

Perform G continuity test for continuity degree less than 3

## db_ptr

The database pointer of the GDX NURB Surface

## cont_toler

The continuity tolerances .nf [0] = Model space distance (G0) [1] = Radian angle difference (G1) [2] = Curvature difference (G2) [3] = Normalized derivative distance .fi

# Output

## u_cont_deg

The U degree of continuity

## v_cont_deg

The V degree of continuity

# Tolerances

          ZERO_TOL
          .fi

# Return

          GDX_NOERR
          Low level error return
          .fi