CurveUtil Class
Utility class used for calculating curve points.
Constructor
CurveUtil
()
Index
Methods
getControlPoints
(
private
-
vals
Gets the control points for the curve.
Parameters:
-
vals
Array<p><p>Collection of values coords used to generate control points.</p></p>
Returns:
<p><p>Array</p></p>
getCurveControlPoints
(
protected
-
xcoords
-
ycoords
Creates an array of start, end and control points for splines.
Parameters:
-
xcoords
Array<p><p>Collection of x-coordinates used for calculate the curves</p></p>
-
ycoords
Array<p><p>Collection of y-coordinates used for calculate the curves</p></p>
Returns:
<p><p>Object</p></p>