public class BezierPath
extends java.lang.Object
| Constructor and Description |
|---|
BezierPath() |
| Modifier and Type | Method and Description |
|---|---|
static Point |
bezier3(Point p1,
Point p2,
Point p3,
double mu)
from http://paulbourke.net/geometry/bezier/index.html
Three control point Bezier interpolation
mu ranges from 0 to 1, start to end of the curve
|
static Point |
cubicBezier(Point p1,
Point p2,
Point p3,
Point p4,
double mu)
from http://paulbourke.net/geometry/bezier/index.html
Four control point Bezier interpolation
mu ranges from 0 to 1, start to end of curve
|
static java.util.List<Point> |
cubicSplineControlPoints(Point[] coords,
float alpha)
from geodroid
FIXME
|
public static Point bezier3(Point p1, Point p2, Point p3, double mu)
public static Point cubicBezier(Point p1, Point p2, Point p3, Point p4, double mu)