Synopsis

PDX_MSGT igeo_GetContinuous128(long option, MDA_PTR db_ptr, double *cont_toler, int cont_deg, EAM_STACK *stack, int model, long *num_of_cont_128, MDA_PTR **db_ptrs_128)

Purpose

Get the set of continuous IGES NURBS surfaces (128)

Description

Gets the set of continuous IGES NURBS surfaces that are continuous to degree cont_deg within cont_toler. If the num_of_cont_128 is equal to zero(0) than the original IGES NURBS surface was continuous everywhere to degree cont_deg and within cont_toler tolerance. The IGES NURBS surface 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 128 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 128 entities are created

Output

num_of_cont_128

The number of continuous 128 entities

db_ptrs_128

The continuous 128 entity database pointers

Tolerances

      NORMAL_MAG_TOL
      ZERO_TOL
      MODEL_SPACE_PNT_TOL
      .fi

Return

      IGEO_NOERR
      Low level error return
      .fi