public class SkyDistance extends Object
| Constructor and Description |
|---|
SkyDistance(double radians,
Caption caption)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Caption |
getCaption()
Returns the description of this distance.
|
double |
getRadians()
Returns the distance in radians.
|
static SkyDistance |
getRoundDistance(double rad)
Returns a distance with a round value in the region of the
supplied angle.
|
String |
toString() |
public SkyDistance(double radians,
Caption caption)
radians - distance in radianscaption - annotation giving distance as a human-readable stringpublic double getRadians()
public Caption getCaption()
public static SkyDistance getRoundDistance(double rad)
rad - approximate distance in radiansCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.