Packages

c

ostrat.geom

Pt3MBuff

final class Pt3MBuff extends AnyVal with Dbl3sBuffer[Pt3M]

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

Linear Supertypes
Dbl3sBuffer[Pt3M], DblNsBuffer[Pt3M], ValueNsBuffer[Pt3M], ArrayLike[Pt3M], ArrayLikeBase[ostrat.geom.Pt3M @scala.annotation.unchecked.uncheckedVariance], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pt3MBuff
  2. Dbl3sBuffer
  3. DblNsBuffer
  4. ValueNsBuffer
  5. ArrayLike
  6. ArrayLikeBase
  7. AnyVal
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Pt3MBuff(buffer: ArrayBuffer[Double])

Type Members

  1. abstract type ArrT <: Dbl3sArr[Pt3M]
    Definition Classes
    Dbl3sBufferDblNsBufferValueNsBuffer
  2. abstract type ThisT <: ArrayLike[Pt3M]

    The final type of this object.

    The final type of this object.

    Definition Classes
    ArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def apply(index: Int): Pt3M
    Definition Classes
    Dbl3sBufferArrayLike
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val buffer: ArrayBuffer[Double]
    Definition Classes
    Pt3MBuffDblNsBuffer
  7. def collect[B, BB <: ArrImut[B]](pf: PartialFunction[Pt3M, 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
  8. def collectList[B](pf: PartialFunction[Pt3M, 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
  9. def contains[A1 >: Pt3M](elem: A1): Boolean
    Definition Classes
    ArrayLike
  10. def cycleGet(index: Int): Pt3M

    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()
  11. def dblsToT(d1: Double, d2: Double, d3: Double): Pt3M
    Definition Classes
    Pt3MBuffDbl3sBuffer
  12. def eMap[B, ArrB <: ArrImut[B]](f: (Pt3M) => EMon[B])(implicit ev: ArrTBuilder[B, ArrB]): EMon[ArrB]
    Definition Classes
    ArrayLike
  13. def eMapList[B](f: (Pt3M) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  14. def elemSize: Int
    Definition Classes
    Dbl3sBufferValueNsBuffer
  15. def elemsLen: 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
    DblNsBufferArrayLikeBase
  16. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  17. def existsCount(f: (Pt3M) => 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
  18. def fHeadElse[B](noHead: => B)(ifHead: (Pt3M) => B): B
    Definition Classes
    ArrayLike
  19. def fMax[B](defaultValue: B)(f: (Pt3M) => 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
  20. def fMin[B](defaultValue: B)(f: (Pt3M) => 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
  21. def filter[ArrA <: ArrImut[Pt3M]](f: (Pt3M) => Boolean)(implicit ev: ArrTBuilder[Pt3M, ArrA]): ArrA
    Definition Classes
    ArrayLike
  22. def filterNot[ArrA <: ArrImut[Pt3M]](f: (Pt3M) => Boolean)(implicit ev: ArrTBuilder[Pt3M, ArrA]): ArrA
    Definition Classes
    ArrayLike
  23. def filterToList(f: (Pt3M) => Boolean): List[Pt3M]
    Definition Classes
    ArrayLike
  24. def flatMap[ArrB <: ArrImut[_]](f: (Pt3M) => ArrB)(implicit ev: ArrTFlatBuilder[ArrB]): ArrB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  25. def foldHeadTail[B](initial: B)(fHead: (B, Pt3M) => B)(fTail: (B, Pt3M) => B): B
    Definition Classes
    ArrayLike
  26. def foldLeft[B](initial: B)(f: (B, Pt3M) => B): B
    Definition Classes
    ArrayLike
  27. def foldTailLeft[B](initial: B)(f: (B, Pt3M) => B): B
    Definition Classes
    ArrayLike
  28. def forAll(p: (Pt3M) => Boolean): Boolean
    Definition Classes
    ArrayLike
  29. def foreach[U](f: (Pt3M) => 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
  30. def foreachInit[U](f: (Pt3M) => U): Unit
    Definition Classes
    ArrayLike
  31. def foreachReverse[U](f: (Pt3M) => 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
  32. def foreachTail[U](f: (Pt3M) => U): Unit
    Definition Classes
    ArrayLike
  33. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  34. def grow(newElem: Pt3M): Unit

    Grows the buffer by a single element.

    Grows the buffer by a single element.

    Definition Classes
    Dbl3sBufferDblNsBufferValueNsBuffer
  35. def grows(newElems: ArrT): Unit
    Definition Classes
    DblNsBufferValueNsBuffer
  36. def head: Pt3M
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  37. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  38. def iFlatMap[ArrB <: ArrImut[_]](iInit: Int = 0)(f: (Pt3M, 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
  39. def iFlatMap[ArrB <: ArrImut[_]](f: (Pt3M, 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
  40. def iForAll(p: (Pt3M, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  41. def iForeach[U](startIndex: Int = 0)(f: (Pt3M, Int) => U): Unit

    foreach with index.

    foreach with index.

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

    foreach with index starting at 0.

    foreach with index starting at 0.

    Definition Classes
    ArrayLikeArrayLikeBase
  43. def iForeachReverse[U](f: (Pt3M, Int) => U): Unit
    Definition Classes
    ArrayLike
  44. def iMap[B, ArrB <: ArrImut[B]](f: (Pt3M, 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
  45. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  46. def indexOf(elem: Pt3M): Int
    Definition Classes
    ArrayLike
  47. def indexWhere(f: (Pt3M) => 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
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. def iterFlatMap[B, ArrB <: ArrImut[B]](f: (Pt3M) => 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
  50. def last: Pt3M
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  51. 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
  52. def map[B, ArrB <: ArrImut[B]](f: (Pt3M) => 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
  53. def map2To1[B, ArrB <: ArrImut[B]](f: (Pt3M, Pt3M) => 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
  54. def mapCollectGoods[B, BB <: ArrImut[B]](f: (Pt3M) => 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
  55. def mapList[B <: AnyRef](f: (Pt3M) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  56. def mapWithAcc[B, ArrB <: ArrImut[B], C](initC: C)(f: (Pt3M, C) => (B, C))(implicit ev: ArrTBuilder[B, ArrB]): ArrB
    Definition Classes
    ArrayLike
  57. def max[B >: Pt3M](implicit ord: Ordering[B]): Pt3M
    Definition Classes
    ArrayLike
  58. def min[B >: Pt3M](implicit ord: Ordering[B]): Pt3M
    Definition Classes
    ArrayLike
  59. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  60. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  61. 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()
  62. def sum(implicit ev: Sumable[Pt3M]): Pt3M
    Definition Classes
    ArrayLike
  63. def sumBy(f: (Pt3M) => Int): Int
    Definition Classes
    ArrayLike
  64. def toArr(implicit build: ArrTBuilder[Pt3M, ArrT]): ArrT
    Definition Classes
    ValueNsBuffer
  65. def toArray: Array[Double]
    Definition Classes
    DblNsBuffer
  66. def toList: List[Pt3M]
    Definition Classes
    ArrayLike
  67. def toString(): String
    Definition Classes
    Any
  68. def toStrsCommaFold(fToStr: (Pt3M) => String): String
    Definition Classes
    ArrayLike
  69. def toStrsCommaNoSpaceFold(fToStr: (Pt3M) => String): String
    Definition Classes
    ArrayLike
  70. def toStrsCommaParenth(fToStr: (Pt3M) => String): String
    Definition Classes
    ArrayLike
  71. def toStrsFold(seperator: String, f: (Pt3M) => String): String
    Definition Classes
    ArrayLike
  72. def toStrsSemiFold(fToStr: (Pt3M) => String): String
    Definition Classes
    ArrayLike
  73. def toStrsSemiParenth(fToStr: (Pt3M) => String): String
    Definition Classes
    ArrayLike
  74. def zipMap[B, C, ArrC <: ArrImut[C]](operator: ArrayLike[B])(f: (Pt3M, 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
  75. def zipMap2[B, C, D, ArrD <: ArrImut[D]](operator1: ArrayLike[B], operator2: ArrayLike[C])(f: (Pt3M, 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 Dbl3sBuffer[Pt3M]

Inherited from DblNsBuffer[Pt3M]

Inherited from ValueNsBuffer[Pt3M]

Inherited from ArrayLike[Pt3M]

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

Inherited from AnyVal

Inherited from Any

Ungrouped