Package csw.params.core.models
Class JAngle
- java.lang.Object
-
- csw.params.core.models.JAngle
-
public class JAngle extends java.lang.Object
Java API for creating an Angle instance.
-
-
Constructor Summary
Constructors Constructor Description JAngle()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Angle
arcHour(double d)
Creates an Angle instance from the given value in arcHoursstatic Angle
arcMinute(double d)
Creates an Angle instance from the given value in arcMinutesstatic Angle
arcSec(double d)
Creates an Angle instance from the given value in arcSecsstatic Angle
degree(double d)
Creates an Angle instance from the given value in degreesstatic 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
-
-
-
Method Detail
-
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)
-
-