CurveUtil Class
+ + + + +
+
+
+
+ Utility class used for calculating curve points.
+
+
+
+
+Constructor
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CurveUtil
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Item Index
+ + +
+
+
+
+
+
+
+
+
+ Methods
+ +-
+
+
- + getControlPoints + + + + + +
- + getCurveControlPoints + + + + + +
+
+
+
+
+
+
+
+
+ Methods
+ + +
+
+
+
+
+
+
+ getControlPoints
+
+
+
+ (
+
+
+
+
+
+
+
+
+
+
+
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
vals+ +
+
+
+
+
+
+ Gets the control points for the curve.
+
+
+
+
+
+ Parameters:
+ +-
+
+
-
+
+
vals+ Array + + + + +++ + +Collection 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:
+ + +
+
+
+
+
+Returns:
+ +
+
+
+ Object
+
+
+ 