Method EvaluateCurvature
EvaluateCurvature(BezierCurve, float)
Given a Bezier curve, return an interpolated curvature at ratio t.
Declaration
public static float EvaluateCurvature(BezierCurve curve, float t)
Parameters
Type | Name | Description |
---|---|---|
BezierCurve | curve | A cubic Bezier curve. |
float | t | A value between 0 and 1 representing the ratio along the curve. |
Returns
Type | Description |
---|---|
float | A curvature value on the curve. |