Synopsis

PDX_MSGT gcr_CurveMesh(long option, MDA_PTR orig_db_ptr, MDA_COUNT num_surf_curves, MDA_PTR *curve_ptrs, MDA_PTR *parm_ptrs, int gdx_model, MDA_PTR *gdx_cm_ptr)

Purpose

Create a GDX Curve Mesh.

Description

Create a GDX Curve Mesh. parm_ptrs is optional. 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.

\fBRules\fR .IP • 3 num_surf_curves > 0 .LP

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

num_surf_curves

The number of GDX curves forming the curve mesh.

curve_ptrs

MDA memory containing the database pointers of the GDX curves. Always consumed by this function even on error.

parm_ptrs

MDA memory containing the list of GDX curve, or NULL (optional).

gdx_model

The GDX model for entity creation

Output

gdx_cm_ptr

Entity database pointer of the GDX Curve mesh

Return

      GCR_NOERR
      GCR_INVALIDMODEL
      Low level error return
      .fi