Synopsis

PDX_MSGT igeo_Get128ContBounds(long option, MDA_PTR db_ptr, double *cont_toler, int cont_deg, long *num_of_bounds, double (**bounds)[2][2])

Purpose

Get the IGES NURBS surface (128) continuous patch bounds.

Description

Gets the set of continuous patch bounds that are continuous to degree cont_deg within cont_toler. The bounds are the U and V IGES NURBS surface low and high parameter values that define the parametric boundaries where the surface becomes discontinuous. The IGES NURBS surface entity must be a valid IGES definition.

Input

option

IGEO_GTEST

Test for G continuity for derivatives to 2

IGEO_NORMALIZE

Normalize the bound values

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

Output

num_of_bounds

The number of continuous bounded patches

bounds

The U and V patch bounds

Tolerances

      NORMAL_MAG_TOL
      ZERO_TOL
      MODEL_SPACE_PNT_TOL
      .fi

Return

      IGEO_NOERR
      Low level error return
      .fi