CODRgn::ApproximateCurve

voidCODRgn::ApproximateCurve(floatx0, floaty0, floatx1, floaty1, floatx2, floaty2, floatx3, floaty3)

Approximates a single segment of a bezier curve with a series of line segments. The results are placed in the m_pApprox array.

Defined in: OdRgn.cpp

Return Value

void

Parameters

x0

The x coordinate of the start point of the curve.

y0

The y coordinate of the start point of the curve.

x1

The x coordinate of the first control point of the curve.

y1

The y coordinate of the first control point of the curve.

x2

The x coordinate of the second control point of the curve.

y2

The y coordinate of the second control point of the curve.

x3

The x coordinate of the end point of the curve.

y3

The y coordinate of the end point of the curve.