Synopsis

PDX_MSGT igeo_GetContinuous126(long option, MDA_PTR db_ptr, double *cont_toler, int cont_deg, EAM_STACK *stack, int model, long *num_of_cont_126, MDA_PTR **db_ptrs_126)

Purpose

Get the set of continuous IGES NURBS curves (126)

Description

Gets the set of continuous IGES NURBS curves that are continuous to degree cont_deg within cont_toler. If the num_of_cont_126 is equal to zero(0) than the original IGES NURBS curve was continuous everywhere to degree cont_deg and within cont_toler tolerance. The IGES NURBS curve entity must be a valid IGES definition.

Input

option

IGEO_GTEST

Test for G continuity for derivatives to 2

IGES_NOMATRIX

Do Not apply entity matrix to data

db_ptr

The IGES 126 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

cont_deg

The degree of continuity desired

stack

The entity attribute stack

model

The model where the new continuous IGES 126 entities are created

Output

num_of_cont_126

The number of continuous 126 entities

db_ptrs_126

The continuous 126 entity database pointers

Tolerances

      NORMAL_MAG_TOL
      ZERO_TOL
      MODEL_SPACE_PNT_TOL
      .fi

Return

      IGEO_NOERR
      Low level error return
      .fi