ostrat.geom.pglobe

Type members

Classlikes

final
class BuffLatLong(val unsafeBuff: ArrayBuffer[Double]) extends AnyVal with BuffDbl2s[LatLong]

A specialised flat ArrayBuffer[Double] based class for LatLongs collections.

A specialised flat ArrayBuffer[Double] based class for LatLongs collections.

trait LLTrans[T]
implicit
class LLTransExtensions[T](val thisT: T)(implicit ev: LLTrans[T])
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.

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
object LatLong

Companion object for the LatLong class. Contains factory methods for the creation of LatLong s.

Companion object for the LatLong class. Contains factory methods for the creation of LatLong s.

Companion
class

The purpose of this trait is to provide super trait for surface positions on all Spheroids.

The purpose of this trait is to provide super trait for surface positions on all Spheroids.

final
class LatLongs(val arrayUnsafe: Array[Double]) extends AnyVal with LatLongsLike with ArrDbl2s[LatLong]

Immutable flat efficient Array[Double] based collection class for LatLongs. Prefer PolygonLL or LineSegLL where applicable.

Immutable flat efficient Array[Double] based collection class for LatLongs. Prefer PolygonLL or LineSegLL where applicable.

A base trait for a sequence of LatLongs. The final classes are more strongly typed as a [[LinePathLL], a PolygonLLand LatLongs, for a a general collection of LatLong points.

A base trait for a sequence of LatLongs. The final classes are more strongly typed as a [[LinePathLL], a PolygonLLand LatLongs, for a a general collection of LatLong points.

final
class Latitude extends AnyVal with AngleLike

A compile time wrapper class for Latitude. The value is stored in arc seconds.

A compile time wrapper class for Latitude. The value is stored in arc seconds.

Companion
object
object Latitude

Companion object for the Latitude class.

Companion object for the Latitude class.

Companion
class
final
class LinePathLL(val arrayUnsafe: Array[Double]) extends AnyVal with LatLongsLike with LinePathDbl2s[LatLong]

A latitude-longitude line path. A quasi line path where the points are stored as points of latitude and longitude.Once the points are converted into a view, ie into pixel positions an actual polygon can be drawn or filled as desired. Do not create line paths that span an arc of greater than 90 degrees as this may break the algorithms.

A latitude-longitude line path. A quasi line path where the points are stored as points of latitude and longitude.Once the points are converted into a view, ie into pixel positions an actual polygon can be drawn or filled as desired. Do not create line paths that span an arc of greater than 90 degrees as this may break the algorithms.

Companion
object
final case

A 2 dimensional line segment defined in units of latitude and longitude rather than scalars in X and Y. A line on the service of the earth.

A 2 dimensional line segment defined in units of latitude and longitude rather than scalars in X and Y. A line on the service of the earth.

Companion
object
object LineSegLL

Companion object for the LineSegLL class.

Companion object for the LineSegLL class.

Companion
class
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.

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
object Longitude

Companion object of the Longitude class.

Companion object of the Longitude class.

Companion
class
final
class PolygonLL(val arrayUnsafe: Array[Double]) extends AnyVal with LatLongsLike with PolygonDbl2s[LatLong]

A latitude-longitude polygon. A quasi polygon where the points are stored as points of latitude and longitude.Once the points are converted into a view, ie into pixel positions an actual polygon can be drawn or filled as desired. Do not create Polygons that span an arc of greater than 90 degrees as this may break the algorithms. preferably keep the arcs significantly smaller.

A latitude-longitude polygon. A quasi polygon where the points are stored as points of latitude and longitude.Once the points are converted into a view, ie into pixel positions an actual polygon can be drawn or filled as desired. Do not create Polygons that span an arc of greater than 90 degrees as this may break the algorithms. preferably keep the arcs significantly smaller.

Companion
object

Companion object for the PolygonLL class.

Companion object for the PolygonLL class.

Companion
class

Value members

Concrete methods

Method for creating a 2d background or outline for the earth.

Method for creating a 2d background or outline for the earth.

Concrete fields

The position of latitude and longitude LatLong 0 east and 0 north.

The position of latitude and longitude LatLong 0 east and 0 north.

Extensions

Extensions

extension (thisDouble: Double)

Extension method returns a longitude where this [Double] is the value east specified in degrees. A Double -180 > d < 0 returns a western value.

Extension method returns a longitude where this [Double] is the value east specified in degrees. A Double -180 > d < 0 returns a western value.

infix
def ll(longDegs: Double): LatLong

infix extension method for creating a latitude-longitude value LatLong. This Double is the latitude specified in degrees. The operand parameter is the longitude specified in degrees.

infix extension method for creating a latitude-longitude value LatLong. This Double is the latitude specified in degrees. The operand parameter is the longitude specified in degrees.

Extension method returns a latitude where this Double is the value north specified in degrees. A Double -180 > d < 0 returns a southern value.

Extension method returns a latitude where this Double is the value north specified in degrees. A Double -180 > d < 0 returns a southern value.

Extension method returns a latitude where this Double is the value south specified in degrees. A Double -180 > d < 0 returns a northern value.

Extension method returns a latitude where this Double is the value south specified in degrees. A Double -180 > d < 0 returns a northern value.

Extension method returns a longitude where this Double is the value west specified in degrees. A Double -180 > d < 0 returns an eastern value.

Extension method returns a longitude where this Double is the value west specified in degrees. A Double -180 > d < 0 returns an eastern value.

extension (thisInt: Int)

Extension method returns a longitude where this Int is the value east specified in degrees. An Int -180 > i < 0 returns a western value.

Extension method returns a longitude where this Int is the value east specified in degrees. An Int -180 > i < 0 returns a western value.

infix
def ll(longDegs: Double): LatLong

infix extension method for creating a latitude-longitude value LatLong. This Int is the latitude specified in degrees. The operand parameter is the longitude specified in degrees.

infix extension method for creating a latitude-longitude value LatLong. This Int is the latitude specified in degrees. The operand parameter is the longitude specified in degrees.

Extension method returns a latitude where this Int is the value north specified in degrees. An Int -180 > i < 0 returns a southern value.

Extension method returns a latitude where this Int is the value north specified in degrees. An Int -180 > i < 0 returns a southern value.

Extension method returns a latitude where this Int is the value south specified in degrees. An Int -180 > i < 0 returns a northern value.

Extension method returns a latitude where this Int is the value south specified in degrees. An Int -180 > i < 0 returns a northern value.

Extension method returns a longitude where this Int is the value west specified in degrees. An Int -180 > i < 0 returns an eastern value.

Extension method returns a longitude where this Int is the value west specified in degrees. An Int -180 > i < 0 returns an eastern value.

Implicits

Implicits

final implicit
def LLTransExtensions[T](thisT: T)(implicit ev: LLTrans[T]): LLTransExtensions[T]