LatLongBase

ostrat.geom.pglobe.LatLongBase
trait LatLongBase

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LatLong
class LatLongDirn

Members list

Value members

Abstract methods

def addLat(delta: AngleVec): LatLongBase

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.

Attributes

Add the AngleVec delta parameter to the longitude.

Add the AngleVec delta parameter to the longitude.

Attributes

def subLat(delta: AngleVec): LatLongBase

Subtract the AngleVec delta parameter from the latitude.

Subtract the AngleVec delta parameter from the latitude.

Attributes

Subtract the AngleVec delta parameter from the longitude.

Subtract the AngleVec delta parameter from the longitude.

Attributes

Concrete methods

final def lat: Latitude
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.

Attributes

final def latDegs: Double
final def latMins: Double
final def latRadians: Double
final def latSecs: Double
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.

Attributes

final def long: Longitude
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.

Attributes

final def longDegs: Double
final def longMins: Double
final def longRadians: Double
final def longSecs: Double
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.

Attributes

def name1: String
def name2: String