Synopsis

PDX_MSGT gcr_CompEdgeCurve2(long option, MDA_PTR orig_db_ptr, MDA_COUNT num_edge_curves, PDX_BOOL sense[], MDA_PTR edge_curve_ptrs[], int gdx_model, MDA_PTR *gdx_cec_ptr)

Purpose

Create a GDX Composite Edge Curve.

Description

This function creates a GDX Composite Edge Curve entity for the given edge curves and corresponding sense flags. The edge curves are assumed valid (possibly created by calling gcr_EdgeCurve).

The GDX Composite Edge Curve's closed field is set using tolerance of GDX MODEL_SPACE_POINT_COIN_TOL.

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 entity's database pointer as obtained from mda_GetOrigDbptr, or MDA_NULL_PTR

num_edge_curves

The number of edge curves

sense

Edge curve sense flags

edge_curve_ptrs

The database pointers of the corresponding edge curves

gdx_model

The GDX model for entity creation.

Output

gdx_cec_ptr

Entity database pointer of the GDX Composite Edge Curve

Tolerances

      .fi

Return

      GCR_NOERR
      GCR_BAD_GDX_MODEL
      Low level error return
      .fi