Method EvaluateCurvature
EvaluateCurvature<T>(T, float)
Return an interpolated curvature at ratio t.
Declaration
public static float EvaluateCurvature<T>(this T spline, float t) where T : ISpline
Parameters
Type | Name | Description |
---|---|---|
T | spline | The spline to interpolate. |
float | t | A value between 0 and 1 representing the ratio along the curve. |
Returns
Type | Description |
---|---|
float | A curvature on the spline. |
Type Parameters
Name | Description |
---|---|
T | A type implementing ISpline. |