public class BezierUtils extends Object
Constructor and Description |
---|
BezierUtils() |
Modifier and Type | Method and Description |
---|---|
static Point2D.Double |
getCenter(Positionable p) |
static double |
getEndingAngle(CubicCurve2D.Double left) |
static double |
getStartingAngle(CubicCurve2D.Double left) |
static Point2D |
intersect(Line2D.Double orig,
Shape shape) |
static boolean |
intersect(Positionable p1,
Positionable p2) |
static Point2D |
middle(Line2D.Double seg) |
static Point2D |
middle(Point2D p1,
Point2D p2) |
static Rectangle2D |
toRectangle(Positionable p) |
public static double getEndingAngle(CubicCurve2D.Double left)
public static double getStartingAngle(CubicCurve2D.Double left)
public static Point2D middle(Line2D.Double seg)
public static Point2D intersect(Line2D.Double orig, Shape shape)
public static Rectangle2D toRectangle(Positionable p)
public static boolean intersect(Positionable p1, Positionable p2)
public static Point2D.Double getCenter(Positionable p)
Copyright © 2017. All Rights Reserved.