Synopsis

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

Purpose

Get the GDX Revolved Surface continuity.

Description

Determines the minimum continuity between all the segments in the GDX revolved 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 generatrix curve in U and 2 in V. The GDX revolved 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 revolved 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 generatrix curve degere).

v_continuity

The V level of continuity (2)

Tolerances

      NORMAL_MAG_TOL
      .fi

Return

      GDX_NOERR
      Low level error return
      .fi