net.sourceforge.plantuml.posimo
Class BezierUtils
java.lang.Object
net.sourceforge.plantuml.posimo.BezierUtils
public class BezierUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BezierUtils
public BezierUtils()
getEndingAngle
public static double getEndingAngle(CubicCurve2D.Double left)
getStartingAngle
public static double getStartingAngle(CubicCurve2D.Double left)
subdivide
public static void subdivide(CubicCurve2D src,
CubicCurve2D left,
CubicCurve2D right,
double coef)
middle
public static Point2D middle(Line2D.Double seg)
middle
public static Point2D middle(Point2D p1,
Point2D p2)
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)
Copyright © 2013. All Rights Reserved.