Synopsis
PDX_MSGT gdx_ConvertLoopToCompCurve(long option, MDA_PTR db_ptr_loop, PDX_BOOL sense, MDA_PTR gdx_face_surf_db_ptr, MDA_PTR gdx_new_surf_db_ptr, int model, void *gdx_comp_edge_curve)
Purpose
Convert a GDX loop entity to a GDX composite edge curve entity of a composite
Description
Given a GDX loop entity, a NEW GDX composite edge curve entity is created that reference a SINGLE Edge curve with a composite of the model and parameter space curve(s)
The GDX loop entity and all its subordinate entities must be valid GDX definitions
Input
option
GDX_COMMIT
Commit the GDX composite curve(s) to the database and return the MDA_PTR database pointer. Otherwise the memory structure pointer for the GDX composite curve entity(s) are returned.
db_ptr_loop
The GDX loop entity database pointer
sense
PDX_FALSE
The sense of the loop must be reversed
PDX_TRUE
The sense of the loop agrees with the logical sense of the edges
gdx_face_surf_db_ptr
The database pointer of the face surface corresponding to loop
gdx_new_surf_db_ptr
The database pointer of the GDX surface entity that should be used for the new composite edge curve surface.
model
The model number for creation of the new GDX composite curve entity(s).
Output
gdx_comp_edge_curve
The new GDX composite edge curve entity database pointer or structure pointer. The composite edge curve containes a single edge curve that references the a composite of the Loop model space curves and parameter space curves if present.
Return
GDX_NOERR
GDX_NOMEMORY
Low level error return
.fi