Gets an approximate set of points for a curve. The specified number of points is the number of points that is received in a full circle for each arc from the curve.
Parameters
Parameters
Description
numSampleForEachArc
[in] Number of samples for each arc in the curve.
pointArray
[out] Receives an array of sample points.
Example
A curve has a straight line at intervals of 0.0-10.0, a circular arc at intervals of 10.0-13.14 (0.0-3.14), and a circular arc at intervals of 13.14-14.71 (0.0–1.57). If numSampleForEachArc is 100, 77 points are returned. 2 points for the line, 50 points for the first arc and 25 points for the second arc.