LengthImperial

ostrat.geom.impunits.LengthImperial

Attributes

Graph
Supertypes
trait Length
trait Ordered[Length]
trait Comparable[Length]
class Object
trait Matchable
class Any
Show all
Known subtypes
class MegaMiles
class Miles
class Yards

Members list

Value members

Abstract methods

override def *(operand: Double): LengthImperial

Multiply by the given scalar.

Multiply by the given scalar.

Attributes

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

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): LengthImperial

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): LengthImperial

Divide by the given scalar.

Divide by the given scalar.

Attributes

Definition Classes

The number of MegaMiles in this length

The number of MegaMiles in this length

Attributes

The number of miles in this length

The number of miles in this length

Attributes

override def mulByLength(operand: Length): AreaImperial

Multiply by another Length to produce an area.

Multiply by another Length to produce an area.

Attributes

Definition Classes
override def unary_-: LengthImperial

The negative of this Length

The negative of this Length

Attributes

Definition Classes

The number of yards in this length

The number of yards in this length

Attributes

Concrete methods

override def gigametresNum: Double

The number of gigametres in this Length.

The number of gigametres in this Length.

Attributes

Definition Classes
override def kilometresNum: Double

The number of kilometres in this Length.

The number of kilometres in this Length.

Attributes

Definition Classes
override def megametresNum: Double

The number of megametres in this Length.

The number of megametres in this Length.

Attributes

Definition Classes
override def metresNum: Double

The number of metres in this Length.

The number of metres 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

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

Inherited and Abstract methods

Attributes

Inherited from:
Ordered
def divByLength(operand: Length): Double

Attributes

Inherited from:
Length
def neg: Boolean

Attributes

Inherited from:
Length

Is the length units greater or equal to zero.

Is the length units greater or equal to zero.

Attributes

Inherited from:
Length
def pos: Boolean

Attributes

Inherited from:
Length