|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthealpix.essentials.Pointing
healpix.core.AngularPosition
public class AngularPosition
An angular position theta phi
Field Summary |
---|
Fields inherited from class healpix.essentials.Pointing |
---|
phi, theta |
Constructor Summary | |
---|---|
AngularPosition()
Default constructor |
|
AngularPosition(double theta,
double phi)
Simple constructor init both values. |
|
AngularPosition(Pointing ptg)
|
Method Summary | |
---|---|
SpatialVector |
getAsVector()
convenience conversion. |
void |
init(double t,
double phi)
Inits the. |
double |
phi()
Phi. |
void |
setPhi(double val)
Sets the phi. |
void |
setTheta(double val)
Sets the theta. |
double |
theta()
Theta. |
String |
toString()
|
Methods inherited from class healpix.essentials.Pointing |
---|
equals, hashCode, normalize, normalizeTheta |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AngularPosition()
public AngularPosition(double theta, double phi)
theta
- in radians [0,Pi]phi
- in radians [0,2*Pi]public AngularPosition(Pointing ptg)
Method Detail |
---|
public double theta()
public double phi()
public void setTheta(double val)
val
- the new theta in radians [0,2*Pi]public void setPhi(double val)
val
- the new phi in radians [0,Pi]public String toString()
toString
in class Pointing
public void init(double t, double phi)
t
- the tphi
- the phipublic SpatialVector getAsVector()
|
"Built from revision exported" | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |