Package uk.ac.starlink.tfcat
Class Position
java.lang.Object
uk.ac.starlink.tfcat.Position
Represents a position in (time, spectral) space.
The detailed meaning of the coordinates is determined by the
Coordinate Reference System in force.
- Since:
- 9 Feb 2022
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Position
public Position(double time, double spectral) Constructor.- Parameters:
time
- temporal coordinatespectral
- spectral coordinate
-
-
Method Details
-
getTime
public double getTime()Returns the time coordinate.- Returns:
- temporal coordinate
-
getSpectral
public double getSpectral()Returns the spectral coordinate.- Returns:
- spectral coordinate
-
hashCode
public int hashCode() -
equals
-
toString
-