Synopsis

PDX_MSGT igeo_Get112Continuity(long option, MDA_PTR db_ptr, double *cont_toler, int *continuity)

Purpose

Get the IGES Parametric Spline (112) continuity.

Description

Determines the minimum continuity between all the segments in the IGES Parametric Spline entity to within the cont_toler tolerance. The continuity value can vary from -1 for discontinuous to a maximium of 3 for 3rd derivative continuity. The IGES parametric spline entity must be a valid IGES definition.

Input

option

IGEO_GTEST

Test for G continuity for derivatives to 2

db_ptr

The IGES 112 entity database pointer.

cont_toler

The continuity tolerance. The distance between the derivatives must be less than 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

continuity

The level of continuity (-1 to 3).

Tolerances

NORMAL_MAG_TOL

Return

      IGEO_NOERR
      Low level error return
      .fi