Package gaiasky.util.units
Class Quantity.Angle
- java.lang.Object
-
- gaiasky.util.units.Quantity.Angle
-
- Enclosing class:
- Quantity
public static class Quantity.Angle extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Quantity.Angle.AngleUnit
-
Constructor Summary
Constructors Constructor Description Angle(double value, Quantity.Angle.AngleUnit unit)
Angle(double value, java.lang.String unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
get(Quantity.Angle.AngleUnit unit)
Quantity.Length
getParallaxDistance()
Gets the parallax distance of this angle.
-
-
-
Constructor Detail
-
Angle
public Angle(double value, Quantity.Angle.AngleUnit unit)
-
Angle
public Angle(double value, java.lang.String unit)
-
-
Method Detail
-
get
public double get(Quantity.Angle.AngleUnit unit)
-
getParallaxDistance
public Quantity.Length getParallaxDistance()
Gets the parallax distance of this angle.- Returns:
- A length with the distance of this angle interpreted as a parallax.
-
-