hudson.drools
Class GraphicsUtil

java.lang.Object
  extended by hudson.drools.GraphicsUtil

public class GraphicsUtil
extends java.lang.Object


Constructor Summary
GraphicsUtil()
           
 
Method Summary
static double det(double a, double b, double c, double d)
           
static boolean getLineLineIntersection(java.awt.geom.Line2D.Double l1, java.awt.geom.Line2D.Double l2, java.awt.geom.Point2D.Double intersection)
           
static boolean getLineRectangleIntersection(java.awt.geom.Rectangle2D.Double rect, java.awt.geom.Line2D.Double line, java.awt.geom.Point2D.Double intersection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicsUtil

public GraphicsUtil()
Method Detail

getLineRectangleIntersection

public static boolean getLineRectangleIntersection(java.awt.geom.Rectangle2D.Double rect,
                                                   java.awt.geom.Line2D.Double line,
                                                   java.awt.geom.Point2D.Double intersection)

getLineLineIntersection

public static boolean getLineLineIntersection(java.awt.geom.Line2D.Double l1,
                                              java.awt.geom.Line2D.Double l2,
                                              java.awt.geom.Point2D.Double intersection)

det

public static double det(double a,
                         double b,
                         double c,
                         double d)


Copyright © 2009. All Rights Reserved.