LatLong

final class LatLong extends LatLongBase with Show2Dbls

A value of latitude and longitude stored for the earth, stored in arc seconds. The constructor is private as instances will rarely be constructed from arc second values. "ll" and "LL" will be used as an abbreviation for LatLong in method names.

Companion
object
trait Show2Dbls
trait Dbl2Elem
trait DblNElem
trait SpecialT
trait Show2[Double, Double]
trait Show
class Object
trait Matchable
class Any

Value members

Concrete methods

def addLat(delta: AngleVec): LatLong

Moves the value northward from this LatLong. This may involve crossing the North Pole or South Pole if the operand is a negative value. When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

Moves the value northward from this LatLong. This may involve crossing the North Pole or South Pole if the operand is a negative value. When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

def addLatRadians(radians: Double): LatLong

Moves the value northward from this LatLong. This may involve crossing the North Pole or South Pole if the operand is a negative value. When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

Moves the value northward from this LatLong. This may involve crossing the North Pole or South Pole if the operand is a negative value. When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

def addLatSecs(secs: Double): LatLong
def addLongRadians(radians: Double): LatLong

When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

From focus parameter, converts to 3D metre coordinates.

From focus parameter, converts to 3D metre coordinates.

def latLongFacing(ll: LatLong): Boolean

Taking this LatLong as the focus. The focus pont being the point of the Earth that from the view point is at x = 0km aad y = 0km in 2D coordinates, determines if the parameter point on the globe is Z positive. True if it is facing the viewer false if it is on the far side of the Earth form the viewer's perspective.

Taking this LatLong as the focus. The focus pont being the point of the Earth that from the view point is at x = 0km aad y = 0km in 2D coordinates, determines if the parameter point on the globe is Z positive. True if it is facing the viewer false if it is on the far side of the Earth form the viewer's perspective.

def latSecs: Double
def longSecs: Double
override def name1: String
Definition Classes
override def name2: String
Definition Classes
def optFromFocusDist2(ll: LatLong): Option[Pt2M]
def persistMems: Seq[Double]
def persistName: String
def segsTo(num: Int, toPt: LatLong): Seq[LatLong]

This method current does not take account of lines that cross the date line, including the Poles

This method current does not take account of lines that cross the date line, including the Poles

def show1: Double
def show2: Double
def subLatRadians(radians: Double): LatLong

When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

def subLongRadians(radians: Double): LatLong

When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

When moving across a globe it will often be done using radians as the values come from 3d vector manipulation.

Converts to Metres3 where 0°N 0°E is the max Z value 90°N is the max Y value, 0°N 90°E is the max X value.

Converts to Metres3 where 0°N 0°E is the max Z value 90°N is the max Y value, 0°N 90°E is the max X value.

def toOptDist2(inp: LatLong): Option[Pt2M]
override def typeStr: String
Definition Classes
def xyLat0: Pt2

Get the XY point from a focus with latitude 0

Get the XY point from a focus with latitude 0

Inherited methods

override def dbl1: Double
Definition Classes
Inherited from
Show2Dbls
override def dbl2: Double
Definition Classes
Inherited from
Show2Dbls
def dblsApprox(that: Dbl2Elem, delta: Double): Boolean
Inherited from
Dbl2Elem
def dblsEqual(that: Dbl2Elem): Boolean
Inherited from
Dbl2Elem
def degMinStr: String
Inherited from
LatLongBase
def degMinStrs: (String, String)
Inherited from
LatLongBase
def degStr: String
Inherited from
LatLongBase
Inherited from
Show2
Inherited from
Show2
@inline
final def lat: Latitude
Inherited from
LatLongBase
@inline
final def latCos: Double

The cosine of the latitude, where North is a positive latitude.

The cosine of the latitude, where North is a positive latitude.

Inherited from
LatLongBase
def latDegMinStr: String
Inherited from
LatLongBase
def latDegStr: String
Inherited from
LatLongBase
@inline
final def latDegs: Double
Inherited from
LatLongBase
def latLetter: String
Inherited from
LatLongBase
@inline
final def latMins: Double
Inherited from
LatLongBase
@inline
final def latRadians: Double
Inherited from
LatLongBase
@inline
final def latSine: Double

The sine of the latitude, where North is a positive latitude.

The sine of the latitude, where North is a positive latitude.

Inherited from
LatLongBase
@inline
final def long: Longitude
Inherited from
LatLongBase
@inline
final def longCos: Double

The cosine of the longitude, where East is a positive longitude.

The cosine of the longitude, where East is a positive longitude.

Inherited from
LatLongBase
def longDegMinStr: String
Inherited from
LatLongBase
def longDegStr: String
Inherited from
LatLongBase
@inline
final def longDegs: Double
Inherited from
LatLongBase
def longLetter: String
Inherited from
LatLongBase
@inline
final def longMins: Double
Inherited from
LatLongBase
@inline
final def longRadians: Double
Inherited from
LatLongBase
@inline
final def longSine: Double

The sine of the longitude, where East is a positive longitude.

The sine of the longitude, where East is a positive longitude.

Inherited from
LatLongBase
override def show(way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowProduct
def shows(way: Way, decimalPlaces: Int): Strings
Inherited from
Show2
override def str: String
Definition Classes
Inherited from
ShowProduct
final override def syntaxdepth: Int
Definition Classes
Inherited from
Show2Dbls
final override def toString: String
Definition Classes
Show -> Any
Inherited from
Show

Concrete fields

val latMilliSecs: Double
val longMilliSecs: Double

Implicits

Inherited implicits

final implicit override def showT1: ShowT[Double]
Definition Classes
Inherited from
Show2Dbls
final implicit override def showT2: ShowT[Double]
Definition Classes
Inherited from
Show2Dbls