AstronomicalUnit

org.abh80.nf.core.metrics.DistanceUnit.AstronomicalUnit
See theAstronomicalUnit companion object
case class AstronomicalUnit(value: Double) extends DistanceUnit

Represents distance in astronomical units (AU)

Value parameters

value

the distance value in astronomical units

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DistanceUnit
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def fromMeter(meters: Double): AstronomicalUnit

Attributes

Definition Classes
override def symbol: String

Attributes

Definition Classes
override def toMeter: Double

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
DistanceUnit -> Any
Inherited from:
DistanceUnit