de.cau.cs.kieler.core.util
Class KielerMath.Point

java.lang.Object
  extended by de.cau.cs.kieler.core.util.KielerMath.Point
Enclosing class:
KielerMath

public static class KielerMath.Point
extends Object

Data class to store two coordinate values.

Rating red

Field Summary
 double x
          x coordinate.
 double y
          y coordinate.
 
Constructor Summary
KielerMath.Point(double thex, double they)
          Creates a point given two coordinates.
 
Method Summary
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x
x coordinate.


y

public double y
y coordinate.

Constructor Detail

KielerMath.Point

public KielerMath.Point(double thex,
                        double they)
Creates a point given two coordinates.

Parameters:
thex - the x coordinate
they - the y coordinate
Method Detail

toString

public String toString()

Overrides:
toString in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object