Synopsis

PDX_MSGT gdx_GetParmSplSurfContinuity(long option, MDA_PTR db_ptr, double *cont_toler, int *u_continuity, int *v_continuity)

Purpose

Get the GDX Parametric Spline surface continuity.

Description

Determines the minimum continuity between all the segments in the GDX Parametric Spline surface entity to within the cont_toler tolerance. The u_continuity and v_continuity values can vary from -1 for discontinuous to a maximium of the degree in U and the degree in V of the GDX Parametric Spline surface. The GDX Parametric Spline surface entity must be a valid GDX definition.

Input

option

Options &d GDX_GTEST Test for G continuity for derivatives to 2

db_ptr

The GDX parametric spline 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

Output

u_continuity

The U level of continuity (-1 to Parametric Spline surface U degree).

v_continuity

The V level of continuity (-1 to Parametric Spline surface V degree).

Tolerances

      NORMAL_MAG_TOL
      .fi

Return

      GDX_NOERR
      Low level error return
      .fi