|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.GlieseLine
Parses each line of of the Gliese Catalog. Should probably be an inner class of GlieseCatalog, but *shrug*.
Field Summary | |
private double |
distance
|
private java.lang.String |
identifier
|
private double |
magnitude
|
private java.lang.String |
name
The name (or numeric designation) of the star. |
private java.lang.String |
spectralType
|
private double |
x
The X coordinate of the star in 3-space (Sol = 0,0,0) |
private double |
y
The Y coordinate of the star in 3-space (Sol = 0,0,0) |
private double |
z
The Z coordinate of the star in 3-space (Sol = 0,0,0) |
Constructor Summary | |
(package private) |
GlieseLine(java.lang.String name,
java.lang.String spectralType,
double magnitude,
double x,
double y,
double z,
double distance)
|
Method Summary | |
(package private) double |
getDistance()
|
(package private) java.lang.String |
getIdentifier()
|
(package private) double |
getMagnitude()
|
(package private) java.lang.String |
getName()
|
(package private) java.lang.String |
getSpectralType()
|
(package private) double |
getX()
|
(package private) double |
getY()
|
(package private) double |
getZ()
|
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String identifier
private java.lang.String spectralType
private double magnitude
private double distance
private double x
private double y
private double z
private java.lang.String name
Constructor Detail |
GlieseLine(java.lang.String name, java.lang.String spectralType, double magnitude, double x, double y, double z, double distance)
Method Detail |
public final void setName(java.lang.String name)
final java.lang.String getIdentifier()
final double getMagnitude()
final double getDistance()
final double getX()
final double getY()
final double getZ()
final java.lang.String getName()
final java.lang.String getSpectralType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |