Package csw.params.core.models
Class JAngle
- java.lang.Object
-
- csw.params.core.models.JAngle
-
public class JAngle extends java.lang.ObjectJava 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 AnglearcHour(double d)Creates an Angle instance from the given value in arcHoursstatic AnglearcMinute(double d)Creates an Angle instance from the given value in arcMinutesstatic AnglearcSec(double d)Creates an Angle instance from the given value in arcSecsstatic Angledegree(double d)Creates an Angle instance from the given value in degreesstatic Anglemas(double d)Creates an Angle instance from the given value in mas (milliarcseconds)static Angleradian(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)
-
-