Synopsis

PDX_MSGT gcr_ExtSurf(long option, MDA_PTR orig_db_ptr, double extrude_vec[3], MDA_PTR gen_curve_ptr, double v_parm, int gdx_model, MDA_PTR *gdx_ES_ptr)

Purpose

Create a GDX Extruded Surface.

Description

Given the non-zero extrusion vector (extrude_vec) and the G0 continuous GDX curve (gen_curve_ptr), create a GDX Extruded Surface. Note that the magnitude of extrude_vec is NOT limited to be 1.0.

The orig_db_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

Input

option

GCR_NOVALIDATE

No validation will occur on the input data.

orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

extrude_vec

Non-zero extrusion vector.

gen_curve_ptr

The G0 continuous GDX curve to extrude.

v_parm

Upper bound on V parameter. This value is -1 if gdx_ext_surf is unbounded in V.

gdx_model

The model in which to create the GDX Extruded Surface entity

Output

gdx_ES_ptr

Entity database pointer to the GDX Extruded Surface.

Tolerances

      .fi

Return

      GCR_NOERR
      GCR_INVALID_MODEL
      Low level error return
      .fi