net.sourceforge.plantuml.posimo
Class BezierUtils

java.lang.Object
  extended by net.sourceforge.plantuml.posimo.BezierUtils

public class BezierUtils
extends Object


Constructor Summary
BezierUtils()
           
 
Method Summary
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 void subdivide(CubicCurve2D src, CubicCurve2D left, CubicCurve2D right, double coef)
           
static Rectangle2D toRectangle(Positionable p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BezierUtils

public BezierUtils()
Method Detail

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.