Synopsis

PDX_MSGT gdx_CCImproveCont(long option, MDA_PTR *gdx_cc_ptr, double tol, PDX_BOOL *modified)

Purpose

Improve continuity of the given Composite Curve

Description

Improve continuity of the composite curve by changing curve order or direction. Using available options, curves can be added to make C0 continuous composite curve. Deletes the old composite curve and replaces with continuous composite curve.

Input

option

GDX_ADD_LINEAR_SEGS

Add linear segments in the gaps

GDX_ORDER_SENSE

Make continuous by changing curve order/direction

gdx_cc_ptr

Composite Curve ptr

tol

Tolerance used to determine the continuity

Output

gdx_cc_ptr

The

new Composite Curve ptr

modified

PDX_TRUE

Comp Curve has been modified

PDX_FALSE

Comp Curve unchanged

Return

      PDX_NOERR
      .fi