org.scijava.util
Class RealCoords

java.lang.Object
  extended by org.scijava.util.RealCoords

public class RealCoords
extends Object

This class represents an (X, Y) coordinate pair in real coordinates. It is required for high precision image coordinates translation.

Author:
Grant Harris, Curtis Rueden

Field Summary
 double x
           
 double y
           
 
Constructor Summary
RealCoords(double x, double y)
           
 
Method Summary
 boolean equals(Object o)
           
 int getIntX()
           
 int getIntY()
           
 long getLongX()
           
 long getLongY()
           
 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

y

public double y
Constructor Detail

RealCoords

public RealCoords(double x,
                  double y)
Method Detail

getIntX

public int getIntX()

getIntY

public int getIntY()

getLongX

public long getLongX()

getLongY

public long getLongY()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009–2015 SciJava. All rights reserved.