Packages

final class Pt3s extends AnyVal with Dbl3sArr[Pt3]

An immutable flat efficient Array backed sequence collection class of 3 dimensional points. This is the default collection class for [Pt3]s.

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

Instance Constructors

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

Type Members

  1. type ThisT = Pt3s

    The final type of this object.

    The final type of this object.

    Definition Classes
    Pt3sDblNsArrValueNsArrArrImutArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++[N <: ValueNsArr[Pt3]](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 :+[N <: ValueNsArr[Pt3]](operand: Pt3)(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
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. 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
  7. def apply(index: Int): Pt3
    Definition Classes
    Dbl3sArrArrayLike
  8. 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
  9. val arrayUnsafe: Array[Double]
    Definition Classes
    Pt3sArrayDblBased
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def collect[B, BB <: ArrImut[B]](pf: PartialFunction[Pt3, 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
  12. def collectList[B](pf: PartialFunction[Pt3, 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
  13. def contains[A1 >: Pt3](elem: A1): Boolean
    Definition Classes
    ArrayLike
  14. def cycleGet(index: Int): Pt3

    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()
  15. def eMap[B, ArrB <: ArrImut[B]](f: (Pt3) => EMon[B])(implicit ev: ArrTBuilder[B, ArrB]): EMon[ArrB]
    Definition Classes
    ArrayLike
  16. def eMapList[B](f: (Pt3) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  17. 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
    Dbl3sArrDblNsArrValueNsArr
  18. 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
  19. 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
  20. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  21. def existsCount(f: (Pt3) => 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
  22. def fElemStr: (Pt3) => String
    Definition Classes
    Pt3sArrImut
  23. def fHeadElse[B](noHead: => B)(ifHead: (Pt3) => B): B
    Definition Classes
    ArrayLike
  24. def fMax[B](defaultValue: B)(f: (Pt3) => 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
  25. def fMin[B](defaultValue: B)(f: (Pt3) => 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
  26. def filter[ArrA <: ArrImut[Pt3]](f: (Pt3) => Boolean)(implicit ev: ArrTBuilder[Pt3, ArrA]): ArrA
    Definition Classes
    ArrayLike
  27. def filterNot[ArrA <: ArrImut[Pt3]](f: (Pt3) => Boolean)(implicit ev: ArrTBuilder[Pt3, ArrA]): ArrA
    Definition Classes
    ArrayLike
  28. def filterToList(f: (Pt3) => Boolean): List[Pt3]
    Definition Classes
    ArrayLike
  29. def find(f: (Pt3) => Boolean): Option[Pt3]
    Definition Classes
    ArrImut
  30. def flatMap[ArrB <: ArrImut[_]](f: (Pt3) => ArrB)(implicit ev: ArrTFlatBuilder[ArrB]): ArrB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  31. def foldHeadTail[B](initial: B)(fHead: (B, Pt3) => B)(fTail: (B, Pt3) => B): B
    Definition Classes
    ArrayLike
  32. def foldLeft[B](initial: B)(f: (B, Pt3) => B): B
    Definition Classes
    ArrayLike
  33. def foldTailLeft[B](initial: B)(f: (B, Pt3) => B): B
    Definition Classes
    ArrayLike
  34. def foldWithPrevious[B](initPrevious: Pt3, initAcc: B)(f: (B, Pt3, Pt3) => B): B
    Definition Classes
    ValueNsArr
  35. def forAll(p: (Pt3) => Boolean): Boolean
    Definition Classes
    ArrayLike
  36. def foreach[U](f: (Pt3) => 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
  37. def foreachArr(f: (Dbls) => Unit): Unit
    Definition Classes
    Dbl3sArrDblNsArr
  38. def foreachInit[U](f: (Pt3) => U): Unit
    Definition Classes
    ArrayLike
  39. def foreachReverse[U](f: (Pt3) => 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
  40. def foreachTail[U](f: (Pt3) => U): Unit
    Definition Classes
    ArrayLike
  41. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  42. def head: Pt3
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  43. def head1: Double
    Definition Classes
    Dbl3sArr
  44. def head2: Double
    Definition Classes
    Dbl3sArr
  45. def head3: Double
    Definition Classes
    Dbl3sArr
  46. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  47. def iFlatMap[ArrB <: ArrImut[_]](iInit: Int = 0)(f: (Pt3, 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
  48. def iFlatMap[ArrB <: ArrImut[_]](f: (Pt3, 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
  49. def iForAll(p: (Pt3, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  50. def iForeach[U](startIndex: Int = 0)(f: (Pt3, Int) => U): Unit

    foreach with index.

    foreach with index.

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

    foreach with index starting at 0.

    foreach with index starting at 0.

    Definition Classes
    ArrayLikeArrayLikeBase
  52. def iForeachReverse[U](f: (Pt3, Int) => U): Unit
    Definition Classes
    ArrayLike
  53. def iMap[B, ArrB <: ArrImut[B]](f: (Pt3, 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
  54. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  55. def indexOf(elem: Pt3): Int
    Definition Classes
    ArrayLike
  56. def indexWhere(f: (Pt3) => 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
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. def iterFlatMap[B, ArrB <: ArrImut[B]](f: (Pt3) => 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
  59. def last: Pt3
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  60. 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
  61. def map[B, ArrB <: ArrImut[B]](f: (Pt3) => 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
  62. def map2To1[B, ArrB <: ArrImut[B]](f: (Pt3, Pt3) => 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
  63. def mapCollectGoods[B, BB <: ArrImut[B]](f: (Pt3) => 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
  64. def mapList[B <: AnyRef](f: (Pt3) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  65. def mapWithAcc[B, ArrB <: ArrImut[B], C](initC: C)(f: (Pt3, C) => (B, C))(implicit ev: ArrTBuilder[B, ArrB]): ArrB
    Definition Classes
    ArrayLike
  66. def max[B >: Pt3](implicit ord: Ordering[B]): Pt3
    Definition Classes
    ArrayLike
  67. def min[B >: Pt3](implicit ord: Ordering[B]): Pt3
    Definition Classes
    ArrayLike
  68. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  69. def modifyWhere(pred: (Pt3) => Boolean, fNewValue: (Pt3) => Pt3): 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
  70. def newElem(d1: Double, d2: Double, d3: Double): Pt3
    Definition Classes
    Pt3sDbl3sArr
  71. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  72. def pMap[B <: ValueNElem, N <: ValueNsArr[B]](f: (Pt3) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ValueNsArr
  73. def removeFirst(f: (Pt3) => Boolean): ThisT
    Definition Classes
    ArrImut
  74. def replace(oldValue: Pt3, newValue: Pt3): 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
  75. def replaceWhere(pred: (Pt3) => Boolean, newValue: Pt3): 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
  76. 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()
  77. def reverse: ThisT
    Definition Classes
    DblNsArr
  78. def sum(implicit ev: Sumable[Pt3]): Pt3
    Definition Classes
    ArrayLike
  79. def sumBy(f: (Pt3) => Int): Int
    Definition Classes
    ArrayLike
  80. def toList: List[Pt3]
    Definition Classes
    ArrayLike
  81. final def toString(): String
    Definition Classes
    ArrImut → Any
  82. def toStrsCommaFold(fToStr: (Pt3) => String): String
    Definition Classes
    ArrayLike
  83. def toStrsCommaNoSpaceFold(fToStr: (Pt3) => String): String
    Definition Classes
    ArrayLike
  84. def toStrsCommaParenth(fToStr: (Pt3) => String): String
    Definition Classes
    ArrayLike
  85. def toStrsFold(seperator: String, f: (Pt3) => String): String
    Definition Classes
    ArrayLike
  86. def toStrsSemiFold(fToStr: (Pt3) => String): String
    Definition Classes
    ArrayLike
  87. def toStrsSemiParenth(fToStr: (Pt3) => String): String
    Definition Classes
    ArrayLike
  88. def typeStr: String

    String specifying the type of this object.

    String specifying the type of this object.

    Definition Classes
    Pt3sArrImut
  89. def unsafeCopyFromArray(opArray: Array[Double], offset: Int = 0): Unit
    Definition Classes
    DblNsArr
  90. def unsafeFromArray(array: Array[Double]): Pt3s
    Definition Classes
    Pt3sDblNsArr
  91. 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
  92. def unsafeSetElem(index: Int, elem: Pt3): 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
    Dbl3sArrArrImut
  93. def unsafeSetElemSeq(index: Int, elems: Iterable[Pt3]): Unit
    Definition Classes
    ArrImut
  94. def unsafeSetElems(index: Int, elems: Pt3*): 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
  95. def unsafeSetHead(value: Pt3): 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
  96. def unsafeSetLast(value: Pt3): 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
  97. def zipMap[B, C, ArrC <: ArrImut[C]](operator: ArrayLike[B])(f: (Pt3, 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
  98. def zipMap2[B, C, D, ArrD <: ArrImut[D]](operator1: ArrayLike[B], operator2: ArrayLike[C])(f: (Pt3, 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 Dbl3sArr[Pt3]

Inherited from DblNsArr[Pt3]

Inherited from ArrayDblBased

Inherited from ValueNsArr[Pt3]

Inherited from ArrImut[Pt3]

Inherited from ArrayLike[Pt3]

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

Inherited from AnyVal

Inherited from Any

Ungrouped