Ejemplo n.º 1
0
 public static Point AtT(this CubicBezier b, double t)
 {
     var points = new[] { b.Start, b.Span1, b.Span2, b.End };
     return bezier(points, DEGREE, t, null, null);
 }
Ejemplo n.º 2
0
 public static double nearestTOfPoint(this CubicBezier b, Point p)
 {
     var points = new[] {b.Start, b.Span1, b.Span2, b.End};
     return nearestTOnCubicBezier(points, p);
 }