Synopsis
PDX_MSGT gcr_Solid2(long option, MDA_PTR orig_db_ptr, PDX_BOOL first_is_outer, MDA_COUNT num_of_shells, PDX_BOOL senses[], MDA_PTR shell_ptrs[], int gdx_model, MDA_PTR *gdx_solid_ptr)
Purpose
Create a GDX Solid.
Description
Given the number of shells, the sense for each shell, and the pointers to the shells create a GDX Solid. The sense flags indicates the senses of the shells with respect to the solid, PDX_TRUE means the sense agrees.
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
first_is_outer
A flag that indicates the first shell is the outer. Set to PDX_TRUE or PDX_FALSE.
num_of_shells
Number of shells that make up the Solid, must be > 0.
senses
The correspond sense of the shell with respect to the solid.
shell_ptrs
The shells that make up the solid.
gdx_model
The GDX model for entity creation
Output
gdx_solid_ptr
Entity database pointer of the GDX Solid
Tolerances
.fi
Return
GCR_NOERR
GCR_INVALID_MODEL
Low level error return
.fi