org.geotools.geometry.iso.util.algorithm2D
Class LineLineIntersection2D

java.lang.Object
  extended by org.geotools.geometry.iso.util.algorithm2D.LineLineIntersection2D

public class LineLineIntersection2D
extends java.lang.Object

Author:
roehrig TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
LineLineIntersection2D()
           
LineLineIntersection2D(java.awt.geom.Line2D line0, java.awt.geom.Line2D line1)
           
 
Method Summary
 boolean intersectInteriorInteriorPoint()
           
static double[] intersection(java.awt.geom.Point2D p0, java.awt.geom.Point2D p1, java.awt.geom.Point2D q0, java.awt.geom.Point2D q1)
           
 java.awt.geom.Point2D[] intersectionPoint()
           
 boolean isBB()
           
 boolean isBI()
           
 boolean isCoincident()
           
 boolean isIB()
           
 boolean isII()
           
 boolean overlapsInterior()
           
 void setValues(java.awt.geom.Line2D line0, java.awt.geom.Line2D line1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineLineIntersection2D

public LineLineIntersection2D()

LineLineIntersection2D

public LineLineIntersection2D(java.awt.geom.Line2D line0,
                              java.awt.geom.Line2D line1)
Method Detail

setValues

public void setValues(java.awt.geom.Line2D line0,
                      java.awt.geom.Line2D line1)

isCoincident

public boolean isCoincident()

overlapsInterior

public boolean overlapsInterior()

intersectInteriorInteriorPoint

public boolean intersectInteriorInteriorPoint()

isII

public boolean isII()

isIB

public boolean isIB()

isBI

public boolean isBI()

isBB

public boolean isBB()

intersectionPoint

public java.awt.geom.Point2D[] intersectionPoint()

intersection

public static double[] intersection(java.awt.geom.Point2D p0,
                                    java.awt.geom.Point2D p1,
                                    java.awt.geom.Point2D q0,
                                    java.awt.geom.Point2D q1)


Copyright © 1996-2010 Geotools. All Rights Reserved.