|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.astro.SkyVector
public class SkyVector
Represents a vector on the celestial sphere, eg between two SkyPoints.
| Constructor Summary | |
|---|---|
SkyVector(Angle separation,
Angle pa)
The order of the parameters is like polar coordinates (r, theta). |
|
SkyVector(double separationDegs,
double paDegs)
The order of the parameters is like polar coordinates (r, theta). |
|
| Method Summary | |
|---|---|
SkyVector |
clone()
Returns a new SkyVector object with the same data. |
boolean |
equals(java.lang.Object other)
|
Angle |
getPa()
Get position angle (anticlockwise from north). |
Angle |
getSeparation()
Get spherical separation. |
int |
hashCode()
Enable objects of this class to be used as hash keys. |
java.lang.String |
toString()
|
java.lang.String |
toString(Angle.Units units)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SkyVector(double separationDegs,
double paDegs)
public SkyVector(Angle separation,
Angle pa)
| Method Detail |
|---|
public Angle getSeparation()
public Angle getPa()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic SkyVector clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(Angle.Units units)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||