Method EvaluateCurvatureCenter
EvaluateCurvatureCenter<T>(T, float)
Return the curvature center at ratio t. The curvature center represents the center of the circle that is tangent to the curve at t. This circle is in the plane defined by the curve velocity (tangent) and the curve acceleration at that point.
Declaration
public static float3 EvaluateCurvatureCenter<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 |
---|---|
float3 | A point representing the curvature center associated to the position at t on the spline. |
Type Parameters
Name | Description |
---|---|
T | A type implementing ISpline. |