Synopsis
PDX_MSGT gcr_CompEdgeCurve(long option, MDA_PTR orig_db_ptr, MDA_COUNT num_edge_curves, struct t_gdx_comp_edge_curve_surf_curves *surf_curves, 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 structures of edge curves and 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
surf_curves
MDA memory containing the structures of sense flags and database poiters of Edge curves. Always consumed by this function even on error.
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