jsky.coords
Class NamedCoordinates
java.lang.Object
jsky.coords.NamedCoordinates
public class NamedCoordinates
- extends Object
Simple class containing an object name, its coordinates, and the brightness,
if known. The brightness is an optional string (for display) describing the
object's brightness, for example: "mag: 13.2", or "12.3B, 12.1V".
The brightness may also be null or empty, if not known.
- Version:
- $Revision: 1.3 $
- Author:
- Allan Brighton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedCoordinates
public NamedCoordinates(String name,
Coordinates coords)
NamedCoordinates
public NamedCoordinates(String name,
Coordinates coords,
String brightness)
getName
public String getName()
getCoordinates
public Coordinates getCoordinates()
getBrightness
public String getBrightness()