Packages

final class PolygonDist extends AnyVal with ArrProdDbl2[Dist2]

Linear Supertypes
ArrProdDbl2[Dist2], ArrProdDblN[Dist2], ArrayDblBased, ArrProdHomo[Dist2], ArrBase[Dist2], ArrayLike[Dist2], ArrayLikeBase[ostrat.geom.Dist2 @scala.annotation.unchecked.uncheckedVariance], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolygonDist
  2. ArrProdDbl2
  3. ArrProdDblN
  4. ArrayDblBased
  5. ArrProdHomo
  6. ArrBase
  7. ArrayLike
  8. ArrayLikeBase
  9. AnyVal
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Type Members

  1. type ThisT = PolygonDist
    Definition Classes
    PolygonDistArrProdDbl2ArrProdDblNArrProdHomoArrBaseArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++[N <: ArrProdHomo[Dist2]](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
    ArrProdHomo
  4. def :+[N <: ArrProdHomo[Dist2]](operand: Dist2)(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
    ArrProdHomo
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def append(op: Dist2): 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
    ArrProdDbl2
  7. 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
    ArrProdDblN
  8. def apply(index: Int): Dist2
    Definition Classes
    ArrProdDbl2ArrayLike
  9. def arrLen: Int
    Definition Classes
    ArrProdDblNArrProdHomo
  10. val arrayUnsafe: Array[Double]
    Definition Classes
    PolygonDistArrayDblBased
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def collect[B, BB <: ArrBase[B]](pf: PartialFunction[Dist2, B])(implicit ev: ArrBuild[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
  13. def collectList[B](pf: PartialFunction[Dist2, 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
  14. def contains[A1 >: Dist2](elem: A1): Boolean
    Definition Classes
    ArrayLike
  15. def eMap[B, BB <: ArrBase[B]](f: (Dist2) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  16. def eMapList[B](f: (Dist2) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  17. def elem1sArray: Array[Double]
    Definition Classes
    ArrProdDbl2
  18. def elem2sArray: Array[Double]
    Definition Classes
    ArrProdDbl2
  19. def elemBuilder(d1: Double, d2: Double): Dist2

    Method for creating new elements from 2 Doubles.

    Method for creating new elements from 2 Doubles.

    Definition Classes
    PolygonDistArrProdDbl2
  20. 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
    ArrBase
  21. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  22. def existsCount(f: (Dist2) => 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
  23. def fElemStr: (Dist2) => String
    Definition Classes
    PolygonDistArrBase
  24. def fHeadElse[B](noHead: => B)(ifHead: (Dist2) => B): B
    Definition Classes
    ArrayLike
  25. def fMax[B](f: (Dist2) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  26. def fMin[B](f: (Dist2) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  27. def filter[AA <: ArrBase[Dist2]](f: (Dist2) => Boolean)(implicit ev: ArrBuild[Dist2, AA]): AA
    Definition Classes
    ArrayLike
  28. def filterNot[AA <: ArrBase[Dist2]](f: (Dist2) => Boolean)(implicit ev: ArrBuild[Dist2, AA]): AA
    Definition Classes
    ArrayLike
  29. def filterToList(f: (Dist2) => Boolean): List[Dist2]
    Definition Classes
    ArrayLike
  30. def find(f: (Dist2) => Boolean): Option[Dist2]
    Definition Classes
    ArrBase
  31. def flatMap[BB <: ArrBase[_]](f: (Dist2) => BB)(implicit ev: ArrFlatBuild[BB]): BB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  32. def foldHeadTail[B](initial: B)(fHead: (B, Dist2) => B)(fTail: (B, Dist2) => B): B
    Definition Classes
    ArrayLike
  33. def foldLeft[B](initial: B)(f: (B, Dist2) => B): B
    Definition Classes
    ArrayLike
  34. def foldTailLeft[B](initial: B)(f: (B, Dist2) => B): B
    Definition Classes
    ArrayLike
  35. def foldWithPrevious[B](initPrevious: Dist2, initAcc: B)(f: (B, Dist2, Dist2) => B): B
    Definition Classes
    ArrProdHomo
  36. def forAll(p: (Dist2) => Boolean): Boolean
    Definition Classes
    ArrayLike
  37. def foreach[U](f: (Dist2) => U): Unit

    Performs the effectful function on each member of the collection.

    Performs the effectful function on each member of the collection.

    Definition Classes
    ArrayLikeArrayLikeBase
  38. def foreachArr(f: (Dbls) => Unit): Unit
    Definition Classes
    ArrProdDbl2ArrProdDblN
  39. def foreachInit[U](f: (Dist2) => U): Unit
    Definition Classes
    ArrayLike
  40. def foreachPairTail[U](f: (Double, Double) => U): Unit
    Definition Classes
    ArrProdDbl2
  41. def foreachReverse[U](f: (Dist2) => 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
  42. def foreachTail[U](f: (Dist2) => U): Unit
    Definition Classes
    ArrayLike
  43. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  44. def getPair(index: Int): (Double, Double)
    Definition Classes
    ArrProdDbl2
  45. def head: Dist2
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  46. def head1: Double
    Definition Classes
    ArrProdDbl2
  47. def head2: Double
    Definition Classes
    ArrProdDbl2
  48. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  49. def iFlatMap[BB <: ArrBase[_]](iInit: Int = 0)(f: (Dist2, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  50. def iFlatMap[BB <: ArrBase[_]](f: (Dist2, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  51. def iForAll(p: (Dist2, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  52. def iForeach[U](f: (Dist2, Int) => U, startIndex: Int = 0): Unit

    foreach with index.

    foreach with index. The startIndex parameter is placed 2nd to allow it to have a default value of zero.

    Definition Classes
    ArrayLike
  53. def iForeachReverse[U](f: (Dist2, Int) => U): Unit
    Definition Classes
    ArrayLike
  54. def iMap[B, BB <: ArrBase[B]](f: (Dist2, Int) => B)(implicit ev: ArrBuild[B, BB]): BB

    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
  55. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  56. def indexOf(elem: Dist2): Int
    Definition Classes
    ArrayLike
  57. def indexWhere(f: (Dist2) => 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
  58. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  59. def iterFlatMap[B, BB <: ArrBase[B]](f: (Dist2) => Iterable[B])(implicit ev: ArrBuild[B, BB]): BB

    FlatMaps over a function from A to any Iterable.

    FlatMaps over a function from A to any Iterable.

    Definition Classes
    ArrayLike
  60. def last: Dist2
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  61. 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
  62. final def length: Int

    The number of elements in the collection.

    The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array maybe longer by a multiple of this number.

    Definition Classes
    ArrProdHomoArrayLikeBase
  63. def map[B, BB <: ArrBase[B]](f: (Dist2) => B)(implicit ev: ArrBuild[B, BB]): BB

    Specialised map to an immutable ArrBase of B.

    Specialised map to an immutable ArrBase of B.

    Definition Classes
    ArrayLike
  64. def map2To1[B, BB <: ArrBase[B]](f: (Dist2, Dist2) => B)(implicit ev: ArrBuild[B, BB]): BB

    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
  65. def mapCollectGoods[B, BB <: ArrBase[B]](f: (Dist2) => EMon[B])(implicit ev: ArrBuild[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
  66. def mapList[B <: AnyRef](f: (Dist2) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  67. def mapWithAcc[B, BB <: ArrBase[B], C](initC: C)(f: (Dist2, C) => (B, C))(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  68. def max[B >: Dist2](implicit ord: Ordering[B]): Dist2
    Definition Classes
    ArrayLike
  69. def min[B >: Dist2](implicit ord: Ordering[B]): Dist2
    Definition Classes
    ArrayLike
  70. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  71. def modifyWhere(pred: (Dist2) => Boolean, fNewValue: (Dist2) => Dist2): 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
    ArrBase
  72. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  73. def pMap[B, N <: ArrProdHomo[B]](f: (Dist2) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ArrProdHomo
  74. def productSize: Int
    Definition Classes
    ArrProdDbl2ArrProdHomo
  75. def removeFirst(f: (Dist2) => Boolean): ThisT
    Definition Classes
    ArrBase
  76. def replace(oldValue: Dist2, newValue: Dist2): 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
    ArrBase
  77. def replaceWhere(pred: (Dist2) => Boolean, newValue: Dist2): 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
    ArrBase
  78. def returnThis: ThisT
    Definition Classes
    ArrayLike
  79. def sumBy(f: (Dist2) => Int): Int
    Definition Classes
    ArrayLike
  80. def toList: List[Dist2]
    Definition Classes
    ArrayLike
  81. final def toString(): String
    Definition Classes
    ArrBase → Any
  82. def toStrsCommaFold(fToStr: (Dist2) => String): String
    Definition Classes
    ArrayLike
  83. def toStrsCommaNoSpaceFold(fToStr: (Dist2) => String): String
    Definition Classes
    ArrayLike
  84. def toStrsCommaParenth(fToStr: (Dist2) => String): String
    Definition Classes
    ArrayLike
  85. def toStrsFold(seperator: String, f: (Dist2) => String): String
    Definition Classes
    ArrayLike
  86. def toStrsSemiFold(fToStr: (Dist2) => String): String
    Definition Classes
    ArrayLike
  87. def toStrsSemiParenth(fToStr: (Dist2) => String): String
    Definition Classes
    ArrayLike
  88. def typeStr: String
    Definition Classes
    PolygonDistArrBase
  89. def unsafeArrayCopy(operand: Array[Dist2], offset: Int, copyLength: Int): Unit
    Definition Classes
    ArrBase
  90. def unsafeCopyFromArray(opArray: Array[Double], offset: Int = 0): Unit
    Definition Classes
    ArrProdDblN
  91. def unsafeFromArray(array: Array[Double]): PolygonDist
    Definition Classes
    PolygonDistArrProdDblN
  92. final def unsafeNew(length: Int): ThisT
    Definition Classes
    ArrProdDblNArrBase
  93. def unsafeSetElem(index: Int, elem: Dist2): Unit
    Definition Classes
    ArrProdDbl2ArrBase
  94. def unsafeSetElemSeq(index: Int, elems: Iterable[Dist2]): Unit
    Definition Classes
    ArrBase
  95. def unsafeSetElems(index: Int, elems: Dist2*): Unit
    Definition Classes
    ArrBase
  96. def unsafeSetHead(value: Dist2): Unit
    Definition Classes
    ArrBase
  97. def unsafeSetLast(value: Dist2): Unit
    Definition Classes
    ArrBase

Inherited from ArrProdDbl2[Dist2]

Inherited from ArrProdDblN[Dist2]

Inherited from ArrayDblBased

Inherited from ArrProdHomo[Dist2]

Inherited from ArrBase[Dist2]

Inherited from ArrayLike[Dist2]

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

Inherited from AnyVal

Inherited from Any

Ungrouped