Package net.sourceforge.plantuml.posimo
Class BezierUtils
- java.lang.Object
-
- net.sourceforge.plantuml.posimo.BezierUtils
-
public class BezierUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description BezierUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getEndingAngle
public static double getEndingAngle(CubicCurve2D.Double left)
-
getStartingAngle
public static double getStartingAngle(CubicCurve2D.Double left)
-
middle
public static Point2D middle(Line2D.Double seg)
-
intersect
public static Point2D intersect(Line2D.Double orig, Shape shape)
-
toRectangle
public static Rectangle2D toRectangle(Positionable p)
-
intersect
public static boolean intersect(Positionable p1, Positionable p2)
-
getCenter
public static Point2D.Double getCenter(Positionable p)
-
-