Synopsis

PDX_MSGT igeo_Get128IsoCurveAs126(long option, MDA_PTR db_ptr_128, double uv_isoparm, EAM_STACK *stack, int model, MDA_PTR *db_ptr_126)

Purpose

Extracts an iso-parametric curve from the IGES NURBS surface(128) as an IGES NURBS curve (126).

Description

Extracts an iso-parametric curve from the IGES NURBS surface entity as an IGES NURBS curve entity. The uv_isoparm value must be within the relimited domain of the IGES NURBS surface. By default, the uv_isoparm value indicates an iso-parm curve value at a constant V parameter value(a U iso-parametric curve). All the non-pointer DE attributes are set in the IGES NURBS curve from the IGES NURBS surface, and the current entity attribute matrix is applied to the IGES NURBS curve. If an error occurs any data created during the conversion is deleted and no IGES NURBS curve is created. The IGES NURBS surface entity must be a valid IGES definition.

Input

option

IGES_NOMATRIX

Do not apply entity matrix to data

IGEO_VISOPARM

Get a V iso-parametric curve ( uv_isoparm is a constant U parameter value).

IGEO_UNNORM

Unnormalize the constant parameter value

db_ptr_128

The valid IGES 128 NURBS surface entity database pointer

uv_isoparm

The unnormalized UV constant parameter value to extract the curve at

stack

The entity attribute stack

model

The model to create the IGES NURBS curve in

Output

db_ptr_126

The IGES 126 curve entity database pointer

Return

      IGEO_NOERR
      IGEO_SURFACENOTNURBS
      IGEO_OUTOFBOUNDS
      Low level error return
      .fi