MegaMiles

ostrat.geom.impunits.MegaMiles
See theMegaMiles companion object
final class MegaMiles(val megaMilesNum: Double) extends AnyVal, LengthImperial

Length measured in millions of miles. Can be negative.

Attributes

Companion
object
Graph
Supertypes
trait Length
trait Ordered[Length]
trait Comparable[Length]
class Object
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def *(operand: Double): MegaMiles

Multiply by the given scalar.

Multiply by the given scalar.

Attributes

Definition Classes
override def +(operand: Length): MegaMiles

Add a Length defined in Length units. Use addLength method if you wish to mix units from different unit measurement systems.

Add a Length defined in Length units. Use addLength method if you wish to mix units from different unit measurement systems.

Attributes

Definition Classes
override def -(operand: Length): MegaMiles

Subtract a Length defined in LengthMetric units. Use subLength method if you wish to mix units from different unit measurement systems.

Subtract a Length defined in LengthMetric units. Use subLength method if you wish to mix units from different unit measurement systems.

Attributes

Definition Classes
override def /(operand: Double): MegaMiles

Divide by the given scalar.

Divide by the given scalar.

Attributes

Definition Classes
override def compare(that: Length): Int

Attributes

Definition Classes
override def divByLength(operand: Length): Double

Attributes

Definition Classes
override def metresNum: Double

The number of metres in this Length.

The number of metres in this Length.

Attributes

Definition Classes
override def milesNum: Double

The number of miles in this length

The number of miles in this length

Attributes

Definition Classes
override def mulByLength(operand: Length): Mileares

Multiply by another Length to produce an area.

Multiply by another Length to produce an area.

Attributes

Definition Classes
override def neg: Boolean

Attributes

Definition Classes
override def nonNeg: Boolean

Is the length units greater or equal to zero.

Is the length units greater or equal to zero.

Attributes

Definition Classes
override def pos: Boolean

Attributes

Definition Classes
override def unary_-: MegaMiles

The negative of this Length

The negative of this Length

Attributes

Definition Classes
override def yardsNum: Double

The number of yards in this length

The number of yards in this length

Attributes

Definition Classes

Inherited methods

def <(that: Length): Boolean

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered
def >(that: Length): Boolean

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered
override def gigametresNum: Double

The number of gigametres in this Length.

The number of gigametres in this Length.

Attributes

Definition Classes
Inherited from:
LengthImperial
override def kilometresNum: Double

The number of kilometres in this Length.

The number of kilometres in this Length.

Attributes

Definition Classes
Inherited from:
LengthImperial
override def megametresNum: Double

The number of megametres in this Length.

The number of megametres in this Length.

Attributes

Definition Classes
Inherited from:
LengthImperial

Converts this Length to Metres.

Converts this Length to Metres.

Attributes

Inherited from:
Length

Converts this Length to Metres.

Converts this Length to Metres.

Attributes

Inherited from:
Length

Concrete fields

The number of MegaMiles in this length

The number of MegaMiles in this length

Attributes