public class Pointing extends Object
| Modifier and Type | Field | Description |
|---|---|---|
double |
phi |
Longitude in radians
|
double |
theta |
Colatitude in radians (0 is North Pole; Pi is South Pole)
|
| Constructor | Description |
|---|---|
Pointing() |
Default constructor
|
Pointing(double theta,
double phi) |
Simple constructor initializing both values.
|
Pointing(Pointing ptg) |
|
Pointing(Vec3 vec) |
Conversion from
Vec3 |
Pointing(Zphi zphi) |
Conversion from
Zphi |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
int |
hashCode() |
|
void |
normalize() |
Normalize theta and phi ranges
|
void |
normalizeTheta() |
Normalize theta range
|
String |
toString() |
public double theta
public double phi
public Pointing()
public Pointing(Pointing ptg)
public Pointing(double theta,
double phi)
theta - in radians [0,Pi]phi - in radians [0,2*Pi]