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

    Modifier and Type Method Description
    double get​(Quantity.Angle.AngleUnit unit)  
    Quantity.Length getParallaxDistance()
    Gets the parallax distance of this angle.
    static boolean isAngle​(java.lang.String unit)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Angle

      public Angle​(double value, Quantity.Angle.AngleUnit unit)
    • Angle

      public Angle​(double value, java.lang.String unit)
  • Method Details

    • isAngle

      public static boolean isAngle​(java.lang.String unit)
    • 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.