edu.uci.ics.jung.visualization.transform.shape
Class Intersector
java.lang.Object
edu.uci.ics.jung.visualization.transform.shape.Intersector
public class Intersector
- extends Object
rectangle
protected Rectangle rectangle
Intersector
public Intersector(Rectangle rectangle)
- Parameters:
rectangle
-
Intersector
public Intersector(Rectangle rectangle,
Line2D line)
- Parameters:
rectangle
- line
-
intersectLine
public void intersectLine(Line2D line)
getLine
public Line2D getLine()
getPoints
public Set getPoints()
getRectangle
public Rectangle getRectangle()
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
Copyright © 2009. All Rights Reserved.