com.anji.imaging
Class DoubleLocation2D

java.lang.Object
  extended bycom.anji.imaging.DoubleLocation2D
Direct Known Subclasses:
FloatingLocation

public class DoubleLocation2D
extends java.lang.Object

Author:
Philip Tucker

Field Summary
static java.text.DecimalFormat TO_STRING_FORMAT
          formatter for doubles in toString()
 double x
          x-axis value
 double y
          y-axis value
 
Constructor Summary
DoubleLocation2D()
          default ctor
DoubleLocation2D(double anX, double aY)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TO_STRING_FORMAT

public static final java.text.DecimalFormat TO_STRING_FORMAT
formatter for doubles in toString()


x

public double x
x-axis value


y

public double y
y-axis value

Constructor Detail

DoubleLocation2D

public DoubleLocation2D()
default ctor


DoubleLocation2D

public DoubleLocation2D(double anX,
                        double aY)
Parameters:
anX -
aY -
Method Detail

equals

public boolean equals(java.lang.Object o)
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
See Also:
Object.toString()