Synopsis
PDX_MSGT igeo_GetSurfBoundsCurveAs102(long option, MDA_PTR db_ptr_surf, int model, double tolerance, int max_iters, MDA_PTR *db_ptr_curve)
Purpose
Extract a surface boundary curve from an IGES surface as an IGES 102
Description
Given a valid untrimmed and bound IGES surface, extracts the surface boundary as an IGES 102 entity of the 4 surface boundary curves. The IGES surface boundary curves types are the same as the types used to define the surface except in the case of the offset surface which may produce and IGES NURBS curve (126) as an approximation of the boundary curve.
The IGES surface entity must be a valid IGES definition.
All the boundary curves for the IGES 102 are exact representations except for the IGES offset surface (140) which may result in an approximation to tolerance tolerance
Input
option
IGES_NOMATRIX
Do not apply entity matrix to data
db_ptr_surf
The IGES surface entity database pointer
model
The model to create the IGES extracted iso-parametric curve in
tolerance
The tolerance for approximating an offset surface iso-parametric curve
max_iters
The maximium number of iterations to test for convergence for approximation
Output
db_ptr_curve
The extract IGES 102 boundray curve entity database pointer
Tolerances
MODEL_SPACE_PNT_TOL
ZERO_TOL
COPLANAR_TOL
PNT_PROJ_TOL
ANGLE_TOL
KNOT_TOL
.fi
Return
IGEO_NOERR
Low level error return
.fi