Synopsis
PDX_MSGT gdx_CurveMeshToPLCurveMesh(long option, MDA_PTR gdx_db_ptr, int model, double tol, int num_pnts, MDA_PTR *gdx_cm_ptr)
Purpose
Approximate curves under a Curve Mesh entity with a polyline
Description
Approximate curves under a Curve Mesh entity with a polyline Underlying curves are passed to the gdx_CurveToPolyLine(). See the gdx_CurveToPolyLine for detail.
Input
option
GDX_APPROX_BY_TOL
Approximate the curve by the given tolerance
GDX_APPROX_BY_NUM_PNTS
Approximate the curve by the given number of points
GDX_APPROX_BY_NUM_PNTS_PER_SEG
Approximate the curve by no more than the given number of points or to within a tolerance for each segment
GDX_APPROX_BY_NUM_PNTS_OR_LINEAR
Approximate the curve by the given number of points unless it is linear
GDX_APPROX_BY_TOL_AND_MAX_LENGTH
Approximate the curve by the given tolerance and the length of each segment should not exceed the 10 times of the given tolerance
gdx_db_ptr
A GDX curve mesh data base pointer
model
Destination model
tol
The approximation tolerance (may not be used for some options)
num_pnts
The number of points (may not be used for some options)
Output
gdx_cm_ptr
A GDX curve_mesh data base pointer
Return
GEA_NOERR
.fi