public class AngleDR extends Object
| Constructor and Description |
|---|
AngleDR(double a,
double d)
Angle consisting of (alpha, delta).
|
AngleDR(double a,
double d,
double r)
Angle consisting of (α, δ) pair and optional radial.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAlpha()
Get the first component of the angle
|
double |
getDelta()
Get the second component of the angle
|
double |
getRadial()
Get the Radial component of the angle
|
void |
setAlpha(double a)
Set the first component of the angle
|
void |
setDelta(double d)
Set the second component of the angle
|
void |
setRad(double r)
Set the Radial component of the angle
|
String |
toString()
Get string representation of Angle as bracketed pair (or triplet)
|
String |
toString(int n)
Get string representation of Angle to n decimal places
as two (or three) numbers
|
public AngleDR(double a,
double d,
double r)
a - alphad - deltar - radialpublic AngleDR(double a,
double d)
a - Alphad - Deltapublic void setAlpha(double a)
a - αpublic void setDelta(double d)
d - δpublic void setRad(double r)
r - Radialpublic double getAlpha()
public double getDelta()
public double getRadial()
public String toString(int n)
n - Number of decimal placesCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.