Package org.cloudburstmc.server.math
Class Angle
java.lang.Object
org.cloudburstmc.server.math.Angle
- All Implemented Interfaces:
Comparable<Angle>
Copyright 2017 lmlstarqaq
All rights reserved.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Angleacos(double v)doubledoublefloatfloatstatic Angleasin(double v)static Angleatan(double v)static intintdoublecos()booleanstatic AnglefromDegree(double doubleDegree)static AnglefromDegree(float floatDegree)static AnglefromRadian(double doubleRadian)static AnglefromRadian(float floatRadian)inthashCode()doublesin()doubletan()toString()
-
Method Details
-
fromDegree
-
fromDegree
-
fromRadian
-
fromRadian
-
asin
-
acos
-
atan
-
sin
public double sin() -
cos
public double cos() -
tan
public double tan() -
asFloatRadian
public float asFloatRadian() -
asDoubleRadian
public double asDoubleRadian() -
asFloatDegree
public float asFloatDegree() -
asDoubleDegree
public double asDoubleDegree() -
compare
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<Angle>
-
equals
-
hashCode
public int hashCode()
-