galapagos
Class Position

java.lang.Object
  extended by galapagos.Position

 class Position
extends java.lang.Object

The Position object represent a point in the coordinate system. We cannot use java.awt.Point because we need double values for x and y. Date Modified: Feb 24, 2009 (just rearranging braces to conform to style guide)

Author:
Dr Caffeine

Field Summary
 double x
           
 double y
           
 
Constructor Summary
Position()
           
Position(double x, double y)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

Position

public Position()

Position

public Position(double x,
                double y)