Synopsis
PDX_MSGT igeo_Convert112ToContinuous(long option, MDA_PTR db_ptr_112, EAM_STACK *stack, int model, MDA_PTR *db_ptr)
Purpose
Converts a discontinuous IGES parametric spline curve (112) to a continuous parametric spline curve (112)
Description
Converts a discontinuous IGES parametric spline curve to a G0 continuous IGES parametric spline curve. The conversion converts the discontinuous parametric spline curve to a NURBS curve and the NURBS curve to a continuous NURBS curve by creating a new control point at a discontinuity that is the average of the discontinuous control points. Internal knots are made degreeful to ensure G0 continuity everywhere. The continuous NURBS curve is then converted back to a continuous IGES paramtric spline curve. All the original IGES curve non-pointer DE attributes are applied to the IGES parametric spline curve. By default, the IGES parametric spline curve 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 curve (112) is created. The IGES parametric spline curve 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_112
The valid IGES 112 NURBS curve entity database pointer
stack
The entity attribute stack
model
The model to create the IGES curve in
Output
db_ptr
The IGES 112 curve entity database pointer
Tolerances
MODEL_SPACE_PNT_TOL
TANGENT_TOL
.fi
Return
IGEO_NOERR
IGEO_ENTITYNOT112
IGEO_NOMEMORY
Low level error return
.fi