Longitude

final
class Longitude extends AnyVal with AngleLike

The Longitude class is a compile time wrapper around a Double. The longitude value is stored in arc seconds,to allow precise storage of values specified in the old Degrees, Minutes and Seconds system. Decimals of a degree can also be stored precisely.

Companion
object
trait AngleLike
trait ElemDbl1
trait ElemDblN
trait SpecialT
trait Equals
trait Show
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

override
def approx(that: Any, precision: AngleVec): Boolean
Definition Classes
override
def canEqual(that: Any): Boolean
Definition Classes
Equals
def eastern: Boolean

True if eastern longitude or Greenwich meridian.

True if eastern longitude or Greenwich meridian.

override
def show(way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
override
def typeStr: String
Definition Classes
def western: Boolean

True if western longitude.

True if western longitude.

Inherited methods

@inline
def cos: Double

The cosine value of this angle.

The cosine value of this angle.

Inherited from
AngleLike
@inline
final override
def dbl1: Double
Definition Classes
Inherited from
AngleLike
def dblsEqual(that: ElemDbl1): Boolean
Inherited from
ElemDbl1
@inline
def degs: Double

The value of this angle expressed in degrees.

The value of this angle expressed in degrees.

Inherited from
AngleLike
Definition Classes
Inherited from
ApproxAngle
@inline
final
def radians: Double

The value of the angle expressed in radians.

The value of the angle expressed in radians.

Inherited from
AngleLike
@inline
final
def secs: Double

The value of this angle expressed in arc seconds of a degree.

The value of this angle expressed in arc seconds of a degree.

Inherited from
AngleLike
@inline
def sin: Double

The sine value of this angle.

The sine value of this angle.

Inherited from
AngleLike
final override
def str: String
Definition Classes
Inherited from
AngleLike
final override
def syntaxdepth: Int
Definition Classes
Inherited from
AngleLike
override
def toString: String
Definition Classes
Show -> Any
Inherited from
Show

Concrete fields

val milliSecs: Double