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