Provides factory methods and case classes for different angle units.
Attributes
Members list
Type members
Classlikes
Companion object for ArcMinute, provides conversion from radians.
Companion object for ArcMinute, provides conversion from radians.
Attributes
- Companion
- class
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AngleUnitCompanion[ArcMinute]class Objecttrait Matchableclass AnyShow all
- Self type
-
ArcMinute.type
Companion object for ArcSecond, provides conversion from radians.
Companion object for ArcSecond, provides conversion from radians.
Attributes
- Companion
- class
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AngleUnitCompanion[ArcSecond]class Objecttrait Matchableclass AnyShow all
- Self type
-
ArcSecond.type
Provides arithmetic and comparison operations for AngleUnit instances.
Provides arithmetic and comparison operations for AngleUnit instances.
Value parameters
- self
-
the AngleUnit instance
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Companion object for Degree, provides conversion from radians.
Companion object for Degree, provides conversion from radians.
Attributes
- Companion
- class
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AngleUnitCompanion[Degree]class Objecttrait Matchableclass AnyShow all
- Self type
-
Degree.type
Companion object for HourAngle, provides conversion from radians.
Companion object for HourAngle, provides conversion from radians.
Attributes
- Companion
- class
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AngleUnitCompanion[HourAngle]class Objecttrait Matchableclass AnyShow all
- Self type
-
HourAngle.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates an angle unit of type T from radians using the provided factory.
Creates an angle unit of type T from radians using the provided factory.
Type parameters
- T
-
the type of AngleUnit
Value parameters
- rad
-
the angle in radians
- unitFactory
-
a function to create an instance of T from a Double
Attributes
- Returns
-
an instance of T