LinePathLL

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.

Companion
object
class AnyVal
trait Matchable
class Any

Type members

Types

override

Value members

Concrete methods

def +:(newElem: LatLong): LinePathLL
@inline

closes this LinePathLL into a PolygonLL with a line Segment from the last point to the first point.

closes this LinePathLL into a PolygonLL with a line Segment from the last point to the first point.

def close(newElems: LatLong*): PolygonLL

Reverses the line path so its end point becomes its start point.

Reverses the line path so its end point becomes its start point.

override
def typeStr: String
Definition Classes
override
def unsafeFromArray(array: Array[Double]): LinePathLL
Definition Classes

Inherited methods

override
def arrLen: Int
Definition Classes
Inherited from
DataDblNs
final override
def dataElem(d1: Double, d2: Double): LatLong
Definition Classes
Inherited from
LatLongsLike
def dataForeach[U](f: LatLong => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
DataGen
def dataForeachPairTail[U](f: (Double, Double) => U): Unit
Inherited from
DataDbl2s
def dataIForeach[U](f: (LatLong, Int) => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
DataGen
Inherited from
DataGen
def dataMap[B, ArrB <: ArrBase[B]](f: LatLong => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

Specialised map to an immutable ArrBase of B.

Specialised map to an immutable ArrBase of B.

Inherited from
DataGen
def dataTailForeach[U](f: LatLong => U): Unit

Foreachs over the tail of the data sequence.

Foreachs over the tail of the data sequence.

Inherited from
DataGen
def dataTailfold[B](initial: B)(f: (B, LatLong) => B): B

foldLeft over the tail of the data sequence.

foldLeft over the tail of the data sequence.

Inherited from
DataGen
def elem1sArray: Array[Double]
Inherited from
DataDbl2s
def elem2sArray: Array[Double]
Inherited from
DataDbl2s
override
def elemProdSize: Int
Definition Classes
Inherited from
DataDbl2s
def elemsLenStr: String

Just a handy short cut to give the length of this collection as a string.

Just a handy short cut to give the length of this collection as a string.

Inherited from
DataGen
final override
def elemsNum: Int

The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon

The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon

Definition Classes
Inherited from
DataValueNs
final
def elemsStr: String

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Inherited from
DataGen
final override
def fElemStr: LatLong => String
Definition Classes
Inherited from
LatLongsLike
override
def indexData(index: Int): LatLong
Definition Classes
Inherited from
DataDbl2s
def map[B <: ElemValueN, BB <: LinePathLike[B]](f: LatLong => B)(implicit build: LinePathBuilder[B, BB]): BB
Inherited from
LinePathLike
override
Definition Classes
Inherited from
DataDblNs
final override
def toString: String
Definition Classes
DataGen -> Any
Inherited from
DataGen
final override
def unsafeSameSize(length: Int): ThisT
Definition Classes
Inherited from
DataDblNs
override
def unsafeSetElem(index: Int, elem: LatLong): Unit
Definition Classes
Inherited from
DataDbl2s
def unsafeSetElems(index: Int, elems: LatLong*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Inherited from
DataGen

Concrete fields

val arrayUnsafe: Array[Double]