Class DirectionAngle
- java.lang.Object
-
- net.anwiba.commons.utilities.math.DirectionAngle
-
public class DirectionAngle extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectionAngleadd(Angle angle)DirectionAngleaddClockwise(Angle angle)DirectionAngleconvertTo(DirectionOrientation orientation)doubledegree()static DirectionAngledegree(double value, DirectionOrientation orientation)booleanequals(java.lang.Object obj)AnglegetAngle()DirectionOrientationgetOrientation()doublegon()static DirectionAnglegon(double value, DirectionOrientation orientation)inthashCode()DirectionAnglenonNegativ()static DirectionAngleof(Angle angle, DirectionOrientation orientation)doubleradian()static DirectionAngleradian(double value, DirectionOrientation orientation)DirectionAnglesubtract(Angle angle)DirectionAnglesubtractClockwise(Angle angle)DirectionAngletoGeograpic()DirectionAngletoMath()
-
-
-
Method Detail
-
of
public static DirectionAngle of(Angle angle, DirectionOrientation orientation)
-
radian
public static DirectionAngle radian(double value, DirectionOrientation orientation)
-
degree
public static DirectionAngle degree(double value, DirectionOrientation orientation)
-
gon
public static DirectionAngle gon(double value, DirectionOrientation orientation)
-
getAngle
public Angle getAngle()
-
getOrientation
public DirectionOrientation getOrientation()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
radian
public double radian()
-
degree
public double degree()
-
gon
public double gon()
-
nonNegativ
public DirectionAngle nonNegativ()
-
add
public DirectionAngle add(Angle angle)
-
subtract
public DirectionAngle subtract(Angle angle)
-
toMath
public DirectionAngle toMath()
-
toGeograpic
public DirectionAngle toGeograpic()
-
convertTo
public DirectionAngle convertTo(DirectionOrientation orientation)
-
addClockwise
public DirectionAngle addClockwise(Angle angle)
-
subtractClockwise
public DirectionAngle subtractClockwise(Angle angle)
-
-