|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthealpix.essentials.Zphi
public final class Zphi
Class for storing a position on the unit sphere as a (z,phi)-tuple.
| Field Summary | |
|---|---|
double |
phi
Longitude in radians; Range [0; 2Pi]. |
double |
z
Cosine of the colatitude, or z component of unit vector; Range [-1;1]. |
| Constructor Summary | |
|---|---|
Zphi()
Default constructor |
|
Zphi(double z_,
double phi_)
Creation from individual components |
|
Zphi(Pointing ptg)
Conversion from Pointing |
|
Zphi(Vec3 v)
Conversion from Vec3 |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double z
public double phi
| Constructor Detail |
|---|
public Zphi()
public Zphi(double z_,
double phi_)
public Zphi(Vec3 v)
Vec3
public Zphi(Pointing ptg)
Pointing
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
"Built from revision exported" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||