GeomDoubleExtensions

ostrat.geom.GeomDoubleExtensions
class GeomDoubleExtensions(thisDouble: Double)

Extension methods class for Double, for the geom package.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def *(operator: Length): Length

Extension methods multiplies this scalar Double by the operand Length. If you want a more precise return type such as Netres or Miles put the Length object first.

Extension methods multiplies this scalar Double by the operand Length. If you want a more precise return type such as Netres or Miles put the Length object first.

Attributes

Returns this Double value in Angstroms.

Returns this Double value in Angstroms.

Attributes

def degs: Angle

Converts this Double into an absolute angle of the given degrees from 0 until 360 degrees.

Converts this Double into an absolute angle of the given degrees from 0 until 360 degrees.

Attributes

Degrees rotation clockwise. Converts this Double into an AngleVec a negative angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.

Degrees rotation clockwise. Converts this Double into an AngleVec a negative angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.

Attributes

Degrees rotation anti-clockwise. Converts this Double into an AngleVec a positive angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.

Degrees rotation anti-clockwise. Converts this Double into an AngleVec a positive angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.

Attributes

Returns this Double value in Femtometres.

Returns this Double value in Femtometres.

Attributes

Returns this Double value in Gigametres.

Returns this Double value in Gigametres.

Attributes

Returns this Double value in Hectares, hectometre.

Returns this Double value in Hectares, hectometre.

Attributes

Returns this Double value in Kilares, kilometre².

Returns this Double value in Kilares, kilometre².

Attributes

Returns this Double value in Kilometres.

Returns this Double value in Kilometres.

Attributes

Returns this Double value of MegaMiles millions of miles.

Returns this Double value of MegaMiles millions of miles.

Attributes

Returns this Double value in Megametres.

Returns this Double value in Megametres.

Attributes

Returns this Double value in Metrares metre².

Returns this Double value in Metrares metre².

Attributes

def metres: Metres

Returns this Double value in Metres.

Returns this Double value in Metres.

Attributes

Returns this Double value in Micrometres.

Returns this Double value in Micrometres.

Attributes

def miles: Miles

Returns this Double value in Miles.

Returns this Double value in Miles.

Attributes

Returns this Double value in Millimetres.

Returns this Double value in Millimetres.

Attributes

Returns this Double value in Miilrares, miilimetre².

Returns this Double value in Miilrares, miilimetre².

Attributes

Returns this Double value in Nanometres.

Returns this Double value in Nanometres.

Attributes

Returns this Double value in Pictares, picometre².

Returns this Double value in Pictares, picometre².

Attributes

Returns this Double value in Picometres.

Returns this Double value in Picometres.

Attributes

def radians: Angle
def yards: Yards

Returns this Double value in Yards.

Returns this Double value in Yards.

Attributes