Method Previous
Previous<T>(T, int)
Gets the BezierKnot before spline[index]. This method uses the Count and Closed properties to ensure that it returns the correct knot.
Declaration
public static BezierKnot Previous<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 before the knot at spline[index]. |
Type Parameters
Name | Description |
---|---|
T | A type that implements ISpline. |