org.graffiti.util
Class GraphicHelper

java.lang.Object
  extended by org.graffiti.util.GraphicHelper

public class GraphicHelper
extends Object


Constructor Summary
GraphicHelper()
           
 
Method Summary
static Point2D getIntersection(Line2D line1, Line2D line2)
          Returns the point where both lines intersect.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicHelper

public GraphicHelper()
Method Detail

getIntersection

public static Point2D getIntersection(Line2D line1,
                                      Line2D line2)
Returns the point where both lines intersect.

Parameters:
line1 - line to compute the intersection with l2
line2 - line to compute the intersection with l1
Returns:
the intersection point of the given lines.


Generated at 2012-05-30 11:00:36 PM CEST