com.anji.imaging
Class DoubleLocation2D
java.lang.Object
com.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 |
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 |
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
DoubleLocation2D
public DoubleLocation2D()
- default ctor
DoubleLocation2D
public DoubleLocation2D(double anX,
double aY)
- Parameters:
anX
- aY
-
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()