Synopsis

PDX_MSGT igeo_Convert114ToContinuous(long option, MDA_PTR db_ptr_114, EAM_STACK *stack, int model, MDA_PTR *db_ptr)

Purpose

Converts a discontinuous IGES parametric spline surface (114) to a continuous parametric spline surface (114)

Description

Converts a discontinuous IGES parametric spline surface to a G0 continuous IGES parametric spline surface. The conversion converts the discontinuous parametric spline surface to a NURBS surface and the NURBS surface to a continuous NURBS surface by creating new control points at the discontinuity that are the average of the discontinuous control points. The continuous NURBS surface, with at most degreeful internal knots, is then converted back to a continuous IGES paramtric spline surface. All the original IGES surface non-pointer DE attributes are applied to the IGES parametric spline surface. By default, the IGES parametric spline surface matrix is concatenated with the matrix on the attribute stack and applied to the converted data. If a conversion error occurs any data created during the conversion is deleted and no IGES parametric spline surface (114) is created. The IGES parametric spline surface entity must be a valid IGES definition.

Input

option

IGES_NOMATRIX

Do not apply entity matrix to data

IGEO_G1CONT

Force G1 discontinuities to continuous

db_ptr_114

The valid IGES 114 NURBS surface entity database pointer

stack

The entity attribute stack

model

The model to create the IGES surface in

Output

db_ptr

The IGES 114 surface entity database pointer

Tolerances

      MODEL_SPACE_PNT_TOL
      TANGENT_TOL
      .fi

Return

      IGEO_NOERR
      IGEO_ENTITYNOT114
      IGEO_NOMEMORY
      Low level error return
      .fi