|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.Xyz
The Xyz
represents a set of (x,y,z).
Field Summary | |
protected double |
x
The x value. |
protected double |
y
The y value. |
protected double |
z
The z value. |
Constructor Summary | |
Xyz()
Constructs an empty Xyz . |
|
Xyz(double initial_x,
double initial_y,
double initial_z)
Constructs an Xyz with specified (x,y,z). |
Method Summary | |
Coor |
convertToCoor()
Converts this (x,y,z) position to the R.A. |
double |
getRadius()
Gets the radius. |
double |
getX()
Gets the x value. |
double |
getY()
Gets the y value. |
double |
getZ()
Gets the z value. |
protected java.lang.String |
paramString()
Returns a raw string representation of the state of this object, for debugging use. |
void |
precession(JulianDay src_jd,
JulianDay dst_jd)
Changes the precession. |
void |
setX(double new_x)
Sets the x value. |
void |
setY(double new_y)
Sets the y value. |
void |
setZ(double new_z)
Sets the z value. |
java.lang.String |
toString()
Returns a string representation of the state of this object, for debugging use. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected double x
protected double y
protected double z
Constructor Detail |
public Xyz()
Xyz
. The (x,y,z) are set as
(0,0,0).public Xyz(double initial_x, double initial_y, double initial_z)
Xyz
with specified (x,y,z).initial_x
- the x position.initial_y
- the y position.initial_z
- the z position.Method Detail |
public double getX()
public void setX(double new_x)
new_x
- the new x value.public double getY()
public void setY(double new_y)
new_y
- the new y value.public double getZ()
public void setZ(double new_z)
new_z
- the new z value.public double getRadius()
public Coor convertToCoor()
public void precession(JulianDay src_jd, JulianDay dst_jd)
src_jd
- the Julian Day of the source precession.dst_jd
- the Julian Day of the destination precession.protected java.lang.String paramString()
toString
method of the subclasses.public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |