Packages

final class LinePathLL extends AnyVal with LatLongsLike

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.

Linear Supertypes
LatLongsLike, Dbl2sArr[LatLong], DblNsArr[LatLong], ArrayDblBased, ValueNsArr[LatLong], ArrImut[LatLong], ArrayLike[LatLong], ArrayLikeBase[ostrat.geom.LatLong @scala.annotation.unchecked.uncheckedVariance], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LinePathLL
  2. LatLongsLike
  3. Dbl2sArr
  4. DblNsArr
  5. ArrayDblBased
  6. ValueNsArr
  7. ArrImut
  8. ArrayLike
  9. ArrayLikeBase
  10. AnyVal
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LinePathLL(arrayUnsafe: Array[Double])

Type Members

  1. type ThisT = LinePathLL

    The final type of this object.

    The final type of this object.

    Definition Classes
    LinePathLLDbl2sArrDblNsArrValueNsArrArrImutArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++[N <: ValueNsArr[LatLong]](operand: N)(implicit factory: (Int) => N): N

    Appends ProductValue collection with the same type of Elements to a new ValueProduct collection.

    Appends ProductValue collection with the same type of Elements to a new ValueProduct collection. Note the operand collection can have a different type, although it shares the same element type. In such a case, the returned collection will have the type of the operand not this collection.

    Definition Classes
    ValueNsArr
  4. def +:(newElem: LatLong): LinePathLL
  5. def :+[N <: ValueNsArr[LatLong]](operand: LatLong)(implicit factory: (Int) => N): N

    Appends an element to a new ProductValue collection of type N with the same type of Elements.

    Appends an element to a new ProductValue collection of type N with the same type of Elements.

    Definition Classes
    ValueNsArr
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. def append(op: LatLong): ThisT

    Functionally appends the operand of type A.

    Functionally appends the operand of type A. This alphanumeric method is not aliased by the ++ operator, to avoid confusion with numeric operators.

    Definition Classes
    Dbl2sArr
  8. def appendArray(appendProductsLength: Int): Array[Double]

    Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

    Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

    Definition Classes
    DblNsArr
  9. def apply(index: Int): LatLong
    Definition Classes
    Dbl2sArrArrayLike
  10. def arrLen: Int

    The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.

    The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.

    Definition Classes
    DblNsArrValueNsArr
  11. val arrayUnsafe: Array[Double]
    Definition Classes
    LinePathLLArrayDblBased
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def close(newElems: LatLong*): PolygonLL
  14. def close: PolygonLL

    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.

    Annotations
    @inline()
  15. def collect[B, BB <: ArrImut[B]](pf: PartialFunction[LatLong, B])(implicit ev: ArrTBuilder[B, BB]): BB

    Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Definition Classes
    ArrayLike
  16. def collectList[B](pf: PartialFunction[LatLong, B]): List[B]

    Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Definition Classes
    ArrayLike
  17. def contains[A1 >: LatLong](elem: A1): Boolean
    Definition Classes
    ArrayLike
  18. def cycleGet(index: Int): LatLong

    Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection.

    Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.

    Definition Classes
    ArrayLike
    Annotations
    @inline()
  19. def eMap[B, ArrB <: ArrImut[B]](f: (LatLong) => EMon[B])(implicit ev: ArrTBuilder[B, ArrB]): EMon[ArrB]
    Definition Classes
    ArrayLike
  20. def eMapList[B](f: (LatLong) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  21. def elem1sArray: Array[Double]
    Definition Classes
    Dbl2sArr
  22. def elem2sArray: Array[Double]
    Definition Classes
    Dbl2sArr
  23. final def elemBuilder(d1: Double, d2: Double): LatLong

    Method for creating new elements from 2 Doubles.

    Method for creating new elements from 2 Doubles.

    Definition Classes
    LatLongsLikeDbl2sArr
  24. def elemProductNum: Int

    The number of Doubles, that specify / construct an element of this immutable flat Array based collection class.

    The number of Doubles, that specify / construct an element of this immutable flat Array based collection class.

    Definition Classes
    Dbl2sArrDblNsArrValueNsArr
  25. final def elemsLen: Int

    The number of product elements in this collection.

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

    Definition Classes
    ValueNsArrArrayLikeBase
  26. final def elemsStr: String

    The element String allows the composition of toString for the whole collection.

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

    Definition Classes
    ArrImut
  27. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  28. def existsCount(f: (LatLong) => Boolean): Int

    Counts the number of elements that fulfil the condition A => Boolean

    Counts the number of elements that fulfil the condition A => Boolean

    Definition Classes
    ArrayLike
  29. final def fElemStr: (LatLong) => String
    Definition Classes
    LatLongsLikeArrImut
  30. def fHeadElse[B](noHead: => B)(ifHead: (LatLong) => B): B
    Definition Classes
    ArrayLike
  31. def fMax[B](defaultValue: B)(f: (LatLong) => B)(implicit cmp: Ordering[B]): B

    Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

    Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

    Definition Classes
    ArrayLike
  32. def fMin[B](defaultValue: B)(f: (LatLong) => B)(implicit cmp: Ordering[B]): B

    Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

    Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

    Definition Classes
    ArrayLike
  33. def filter[ArrA <: ArrImut[LatLong]](f: (LatLong) => Boolean)(implicit ev: ArrTBuilder[LatLong, ArrA]): ArrA
    Definition Classes
    ArrayLike
  34. def filterNot[ArrA <: ArrImut[LatLong]](f: (LatLong) => Boolean)(implicit ev: ArrTBuilder[LatLong, ArrA]): ArrA
    Definition Classes
    ArrayLike
  35. def filterToList(f: (LatLong) => Boolean): List[LatLong]
    Definition Classes
    ArrayLike
  36. def find(f: (LatLong) => Boolean): Option[LatLong]
    Definition Classes
    ArrImut
  37. def flatMap[ArrB <: ArrImut[_]](f: (LatLong) => ArrB)(implicit ev: ArrTFlatBuilder[ArrB]): ArrB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  38. def foldHeadTail[B](initial: B)(fHead: (B, LatLong) => B)(fTail: (B, LatLong) => B): B
    Definition Classes
    ArrayLike
  39. def foldLeft[B](initial: B)(f: (B, LatLong) => B): B
    Definition Classes
    ArrayLike
  40. def foldTailLeft[B](initial: B)(f: (B, LatLong) => B): B
    Definition Classes
    ArrayLike
  41. def foldWithPrevious[B](initPrevious: LatLong, initAcc: B)(f: (B, LatLong, LatLong) => B): B
    Definition Classes
    ValueNsArr
  42. def forAll(p: (LatLong) => Boolean): Boolean
    Definition Classes
    ArrayLike
  43. def foreach[U](f: (LatLong) => U): Unit

    Performs the effectual function on each member of the collection.

    Performs the effectual function on each member of the collection.

    Definition Classes
    ArrayLikeArrayLikeBase
  44. def foreachArr(f: (Dbls) => Unit): Unit
    Definition Classes
    Dbl2sArrDblNsArr
  45. def foreachInit[U](f: (LatLong) => U): Unit
    Definition Classes
    ArrayLike
  46. def foreachPairTail[U](f: (Double, Double) => U): Unit
    Definition Classes
    Dbl2sArr
  47. def foreachReverse[U](f: (LatLong) => U): Unit

    Consider changing this name, as might not be appropriate to all sub classes.

    Consider changing this name, as might not be appropriate to all sub classes.

    Definition Classes
    ArrayLike
  48. def foreachTail[U](f: (LatLong) => U): Unit
    Definition Classes
    ArrayLike
  49. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  50. def getPair(index: Int): (Double, Double)
    Definition Classes
    Dbl2sArr
  51. def head: LatLong
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  52. def head1: Double
    Definition Classes
    Dbl2sArr
  53. def head2: Double
    Definition Classes
    Dbl2sArr
  54. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  55. def iFlatMap[ArrB <: ArrImut[_]](iInit: Int = 0)(f: (LatLong, Int) => ArrB)(implicit build: ArrTFlatBuilder[ArrB]): ArrB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  56. def iFlatMap[ArrB <: ArrImut[_]](f: (LatLong, Int) => ArrB)(implicit build: ArrTFlatBuilder[ArrB]): ArrB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  57. def iForAll(p: (LatLong, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  58. def iForeach[U](startIndex: Int = 0)(f: (LatLong, Int) => U): Unit

    foreach with index.

    foreach with index.

    Definition Classes
    ArrayLikeArrayLikeBase
  59. def iForeach[U](f: (LatLong, Int) => U): Unit

    foreach with index starting at 0.

    foreach with index starting at 0.

    Definition Classes
    ArrayLikeArrayLikeBase
  60. def iForeachReverse[U](f: (LatLong, Int) => U): Unit
    Definition Classes
    ArrayLike
  61. def iMap[B, ArrB <: ArrImut[B]](f: (LatLong, Int) => B)(implicit ev: ArrTBuilder[B, ArrB]): ArrB

    Specialised map with index to an immutable ArrBase of B.

    Specialised map with index to an immutable ArrBase of B. This method should be overridden in sub classes.

    Definition Classes
    ArrayLike
  62. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  63. def indexOf(elem: LatLong): Int
    Definition Classes
    ArrayLike
  64. def indexWhere(f: (LatLong) => Boolean): Int

    Return the index of the first element where predicate is true, or -1 if predicate not true forall.

    Return the index of the first element where predicate is true, or -1 if predicate not true forall.

    Definition Classes
    ArrayLike
  65. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  66. def iterFlatMap[B, ArrB <: ArrImut[B]](f: (LatLong) => Iterable[B])(implicit ev: ArrTBuilder[B, ArrB]): ArrB

    FlatMaps over a function from A to any Iterable.

    FlatMaps over a function from A to any Iterable.

    Definition Classes
    ArrayLike
  67. def last: LatLong
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  68. def lenStr: 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.

    Definition Classes
    ArrayLikeBase
  69. def map[B, ArrB <: ArrImut[B]](f: (LatLong) => B)(implicit ev: ArrTBuilder[B, ArrB]): ArrB

    Specialised map to an immutable ArrBase of B.

    Specialised map to an immutable ArrBase of B.

    Definition Classes
    ArrayLike
  70. def map2To1[B, ArrB <: ArrImut[B]](f: (LatLong, LatLong) => B)(implicit ev: ArrTBuilder[B, ArrB]): ArrB

    map 2 elements of A to 1 element of B.

    map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

    Definition Classes
    ArrayLike
  71. def mapCollectGoods[B, BB <: ArrImut[B]](f: (LatLong) => EMon[B])(implicit ev: ArrTBuilder[B, BB]): BB

    maps from A to EMon[B], collects the good values.

    maps from A to EMon[B], collects the good values.

    Definition Classes
    ArrayLike
  72. def mapList[B <: AnyRef](f: (LatLong) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  73. def mapWithAcc[B, ArrB <: ArrImut[B], C](initC: C)(f: (LatLong, C) => (B, C))(implicit ev: ArrTBuilder[B, ArrB]): ArrB
    Definition Classes
    ArrayLike
  74. def max[B >: LatLong](implicit ord: Ordering[B]): LatLong
    Definition Classes
    ArrayLike
  75. def min[B >: LatLong](implicit ord: Ordering[B]): LatLong
    Definition Classes
    ArrayLike
  76. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  77. def modifyWhere(pred: (LatLong) => Boolean, fNewValue: (LatLong) => LatLong): ThisT

    Replaces all instances of the old value that fulfill predicate with the new value.

    Replaces all instances of the old value that fulfill predicate with the new value.

    Definition Classes
    ArrImut
  78. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  79. def pMap[B <: ValueNElem, N <: ValueNsArr[B]](f: (LatLong) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ValueNsArr
  80. def removeFirst(f: (LatLong) => Boolean): ThisT
    Definition Classes
    ArrImut
  81. def replace(oldValue: LatLong, newValue: LatLong): ThisT

    Replaces all instances of the old value with the new value.

    Replaces all instances of the old value with the new value.

    Definition Classes
    ArrImut
  82. def replaceWhere(pred: (LatLong) => Boolean, newValue: LatLong): ThisT

    Replaces all instances of the old value that fulfill predicate with the new value.

    Replaces all instances of the old value that fulfill predicate with the new value.

    Definition Classes
    ArrImut
  83. def returnThis: ThisT

    Method for keeping the typer happy when returning this as an instance of ThisT.

    Method for keeping the typer happy when returning this as an instance of ThisT.

    Definition Classes
    ArrayLike
    Annotations
    @inline()
  84. def reverse: ThisT
    Definition Classes
    DblNsArr
  85. def sum(implicit ev: Sumable[LatLong]): LatLong
    Definition Classes
    ArrayLike
  86. def sumBy(f: (LatLong) => Int): Int
    Definition Classes
    ArrayLike
  87. def toList: List[LatLong]
    Definition Classes
    ArrayLike
  88. final def toString(): String
    Definition Classes
    ArrImut → Any
  89. def toStrsCommaFold(fToStr: (LatLong) => String): String
    Definition Classes
    ArrayLike
  90. def toStrsCommaNoSpaceFold(fToStr: (LatLong) => String): String
    Definition Classes
    ArrayLike
  91. def toStrsCommaParenth(fToStr: (LatLong) => String): String
    Definition Classes
    ArrayLike
  92. def toStrsFold(seperator: String, f: (LatLong) => String): String
    Definition Classes
    ArrayLike
  93. def toStrsSemiFold(fToStr: (LatLong) => String): String
    Definition Classes
    ArrayLike
  94. def toStrsSemiParenth(fToStr: (LatLong) => String): String
    Definition Classes
    ArrayLike
  95. def typeStr: String

    String specifying the type of this object.

    String specifying the type of this object.

    Definition Classes
    LinePathLLArrImut
  96. def unsafeCopyFromArray(opArray: Array[Double], offset: Int = 0): Unit
    Definition Classes
    DblNsArr
  97. def unsafeFromArray(array: Array[Double]): LinePathLL
    Definition Classes
    LinePathLLDblNsArr
  98. final def unsafeNew(length: Int): ThisT

    This method should rarely be needed to be used by end users, but returns a new uninitialised ArrT of the this ArrImut's final type.

    This method should rarely be needed to be used by end users, but returns a new uninitialised ArrT of the this ArrImut's final type.

    Definition Classes
    DblNsArrArrImut
  99. def unsafeSetElem(index: Int, elem: LatLong): Unit

    Sets / mutates an element in the Arr.

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

    Definition Classes
    Dbl2sArrArrImut
  100. def unsafeSetElemSeq(index: Int, elems: Iterable[LatLong]): Unit
    Definition Classes
    ArrImut
  101. def unsafeSetElems(index: Int, elems: LatLong*): Unit

    Sets / mutates elements in the Arr.

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

    Definition Classes
    ArrImut
  102. def unsafeSetHead(value: LatLong): Unit

    Sets / mutates the head element in the Arr.

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

    Definition Classes
    ArrImut
  103. def unsafeSetLast(value: LatLong): Unit

    Sets / mutates the last element in the Arr.

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

    Definition Classes
    ArrImut
  104. def zipMap[B, C, ArrC <: ArrImut[C]](operator: ArrayLike[B])(f: (LatLong, B) => C)(implicit ev: ArrTBuilder[C, ArrC]): ArrC

    Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.

    Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.

    Definition Classes
    ArrayLike
  105. def zipMap2[B, C, D, ArrD <: ArrImut[D]](operator1: ArrayLike[B], operator2: ArrayLike[C])(f: (LatLong, B, C) => D)(implicit ev: ArrTBuilder[D, ArrD]): ArrD

    Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.

    Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.

    Definition Classes
    ArrayLike

Inherited from LatLongsLike

Inherited from Dbl2sArr[LatLong]

Inherited from DblNsArr[LatLong]

Inherited from ArrayDblBased

Inherited from ValueNsArr[LatLong]

Inherited from ArrImut[LatLong]

Inherited from ArrayLike[LatLong]

Inherited from ArrayLikeBase[ostrat.geom.LatLong @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyVal

Inherited from Any

Ungrouped