Method Next
Next<T>(T, int)
Gets the BezierKnot after spline[index]. This method uses the Count and Closed properties to ensure that it returns the correct knot.
Declaration
public static BezierKnot Next<T>(this T spline, int index) where T : ISpline
Parameters
Type | Name | Description |
---|---|---|
T | spline | The spline to consider. |
int | index | The current index to consider. |
Returns
Type | Description |
---|---|
BezierKnot | The knot after the knot at spline[index]. |
Type Parameters
Name | Description |
---|---|
T | A type that implements ISpline. |