Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class Line

java.lang.Object
  |
  +--java.util.Observable
        |
        +--edu.stanford.smi.protegex.layout.Line

public class Line
extends Observable

Description of the Class

Author:
William Grosso

Field Summary
 Point endingPoint
           
static int SMALL_AMOUNT
           
 Point startingPoint
           
 
Constructor Summary
Line()
           
 
Method Summary
 boolean equals(Object object)
           
 Point getIntersection(Line otherLine)
           
 boolean intersects(Line otherLine)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startingPoint

public Point startingPoint

endingPoint

public Point endingPoint

SMALL_AMOUNT

public static final int SMALL_AMOUNT
Constructor Detail

Line

public Line()
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

getIntersection

public Point getIntersection(Line otherLine)

intersects

public boolean intersects(Line otherLine)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.