Method EvalNormal
EvalNormal(BezierSegment, float)
Evalutes the normal on a curve segment.
Declaration
public static Vector2 EvalNormal(BezierSegment segment, float t)
Parameters
Type | Name | Description |
---|---|---|
BezierSegment | segment | The curve segment on which to evaluate the normal |
float | t | The parametric location on the curve |
Returns
Type | Description |
---|---|
Vector2 | The normal of the curve at parametric location "t" |
Remarks
A positive normal at a point on the bezier curve is always on the right side of the forward direction (tangent) of the curve at that point.