|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ascape.model.space.Coordinate
public abstract class Coordinate
The base class for a location within a space defined by a particular geometry.
Constructor Summary | |
---|---|
Coordinate()
|
Method Summary | |
---|---|
abstract Coordinate |
add(Coordinate coordinate)
Adds the location of the supplied coordinate to this coordinate, returning the resulting coordinate. |
abstract double |
getDistance(Coordinate coordinate)
Returns the distance between this coordinate and the supplied coordinate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Coordinate()
Method Detail |
---|
public abstract double getDistance(Coordinate coordinate)
coordinate
- the coordiante to measure distance topublic abstract Coordinate add(Coordinate coordinate)
coordinate
- the coordinate to sum with this one
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |