Synopsis
PDX_MSGT gdx_CECParmToCC(long option, MDA_PTR gdx_cec_ptr, double cont_toler[4], MDA_PTR *gdx_cc_ptr)
Purpose
Collect the parm curves CEC into a composite curve (CC).
Description
The parm curves extracted from a CEC and used to define a CC. The senses in the CEC do not pertain to the parm curves in an edge curve, thus they will be ignored. The CC will exist in the same GDX model as the CEC and reference the original curves. By default trans code and parm_range fields in the CC will be set to NULL (ignored). The GDX_SETTRANS option can be used to force the trans codes to be set.
If an Edge Curve (EC) referenced by this CEC does not have a parm curve, then the error GDX_EC_MISSING_PARM will be returned.
Input
option
GDX_SETTRANS
Set the curve transition codes (default is to set trans_code field to NULL)
gdx_cec_ptr
Database pointer of CEC.
cont_toler
The continuity tolerance. The distance between the derivatives must be less then or equal this value to have derivative continuity .nf [0] = Point difference(G0) [1] = Radian angular difference (G1) [2] = Curvature difference (G2) [3] = Normalized derivative difference .fi
Output
gdx_cc_ptr
Entity database pointer of the GDX CC.
Return
GDX_EC_MISSING_PARM
Low level error return
.fi