GH_BezierSolver

public class GH_BezierSolver
Class for evaluating four-point bezier curves as used in GDI+

Methods

AngleAt

#
public static float AngleAt(ref PointF P0, ref PointF P1, ref PointF P2, ref PointF P3, float t)
Evaluate the tangent angle of a Bezier span.
P0 (ref PointF)Start point of bezier.
P1 (ref PointF)Point for start tangent.
P2 (ref PointF)Point for end tangent.
P3 (ref PointF)End point of bezier.
t (float)Unit parameter.

PointAt

#
public static PointF PointAt(ref PointF P0, ref PointF P1, ref PointF P2, ref PointF P3, float t)
Evaluate a Bezier span.
P0 (ref PointF)Start point of bezier.
P1 (ref PointF)Point for start tangent.
P2 (ref PointF)Point for end tangent.
P3 (ref PointF)End point of bezier.
t (float)Unit parameter.

TangentAt

#
public static SizeF TangentAt(ref PointF P0, ref PointF P1, ref PointF P2, ref PointF P3, float t)
Evaluate the tangent vector of a Bezier span.
P0 (ref PointF)Start point of bezier.
P1 (ref PointF)Point for start tangent.
P2 (ref PointF)Point for end tangent.
P3 (ref PointF)End point of bezier.
t (float)Unit parameter.