Class BezierCurve
A class that represents a Bezier Curve
Supposedly the most visually appealing curves
Needs a lot of complicated math; this class doesn't have much functionality other than what one might need to draw it
class BezierCurve(T, uint dimensions)
;
Constructors
Name | Description |
this
|
Creates a bezier curve given a list of control points
|
Fields
Name | Type | Description |
controlPoints
|
Vector!(T,dimensions)[] | The points that control the path of the curve; usually don't actually exist on curve
|
Methods
Name | Description |
getPoints
|
Gets numPoints amount of points that are on the bezier curve evenly spaced from the beginning point to the end point (t 0 => 1)
|