Synopsis
PDX_MSGT gdx_GetSurfBoundsAsCurve(long option, MDA_PTR db_ptr, int model, double tolerance, int max_iters, void *gdx_curve)
Purpose
Extracts the boundary curve from the GDX surface as a GDX curve.
Description
Extracts the boundary curve from the GDX surface entity as a GDX curve entity. The boundary curve is formed from the set of 4 iso-parametric curves defined by the GDX surface boundary values and composited together to form one composited GDX curve of the surface boundary.
If an error occurs any data created during the conversion is deleted and no GDX curve is created.
The GDX surface entity must be a valid GDX definition.
Input
option
GDX_COMMIT
Commit the GDX curve to the database
db_ptr
The valid GDX surface entity database pointer
model
The model to create the GDX curve in
tolerance
The tolerance for approximating the offset surface boundary iso-parametric curve
max_iters
The maximum iteration count for testing for convergence for the approximation
Output
gdx_curve
The GDX curve entity database pointer or structure pointer
Tolerances
MODEL_SPACE_PNT_TOL
Return
GDX_NOERR
GDX_INVALIDMODEL
Low level error return
.fi