Synopsis

PDX_MSGT gdx_GetNurbCurveContinuity(long option, MDA_PTR db_ptr, double cont_toler[4], int *cont_deg)

Purpose

Determine the GDX NURB Curve continuity

Description

Given a GDX NURB Curve, determines the minimium continuity between all the segements in the GDX NURB Curve entity to within the cont_toler tolerances. The cont_deg value can vary from -1 for discontinuous to a maximium of the degree of the GDX NURB Curve. The GDX NURB Curve entity must be a valid 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 Curve

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

cont_deg

The degree of continuity

Tolerances

      NORMAL_MAG_TOL
      .fi

Return

      GDX_NOERR
      Low level error return
      .fi