Class JAngle

java.lang.Object
csw.params.core.models.JAngle

public class JAngle extends Object
Java API for creating an Angle instance.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Angle
    arcHour(double d)
    Creates an Angle instance from the given value in arcHours
    static Angle
    arcMinute(double d)
    Creates an Angle instance from the given value in arcMinutes
    static Angle
    arcSec(double d)
    Creates an Angle instance from the given value in arcSecs
    static Angle
    degree(double d)
    Creates an Angle instance from the given value in degrees
    static Angle
    mas(double d)
    Creates an Angle instance from the given value in mas (milliarcseconds)
    static Angle
    radian(double d)
    Creates an Angle instance from the given value in radians

    Methods inherited from class java.lang.Object

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

    • JAngle

      public JAngle()
  • Method Details

    • degree

      public static Angle degree(double d)
      Creates an Angle instance from the given value in degrees
      Parameters:
      d - (undocumented)
      Returns:
      (undocumented)
    • arcMinute

      public static Angle arcMinute(double d)
      Creates an Angle instance from the given value in arcMinutes
      Parameters:
      d - (undocumented)
      Returns:
      (undocumented)
    • arcSec

      public static Angle arcSec(double d)
      Creates an Angle instance from the given value in arcSecs
      Parameters:
      d - (undocumented)
      Returns:
      (undocumented)
    • arcHour

      public static Angle arcHour(double d)
      Creates an Angle instance from the given value in arcHours
      Parameters:
      d - (undocumented)
      Returns:
      (undocumented)
    • radian

      public static Angle radian(double d)
      Creates an Angle instance from the given value in radians
      Parameters:
      d - (undocumented)
      Returns:
      (undocumented)
    • mas

      public static Angle mas(double d)
      Creates an Angle instance from the given value in mas (milliarcseconds)
      Parameters:
      d - (undocumented)
      Returns:
      (undocumented)