LinePathDbl2Builder

ostrat.geom.LinePathDbl2Builder

Trait for creating the line path type class instances for LinePathDbl2 final classes. Instances for the LinePathDbl2Builder type class, for classes / traits you control, should go in the companion object of type B, which will extend ElemDbl2. The first type parameter is called B, because it corresponds to the B in map[B](f: A => B)(implicit build: ArrTBuilder[B, ArrB]): ArrB function.

Attributes

Graph
Supertypes
trait LinePathBuilder[B, BB]
trait SeqLikeMapBuilder[B, BB]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type BuffT <: Dbl2Buff[B]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

Attributes

Inherited from:
Dbl2SeqLikeMapBuilder

Value members

Inherited methods

Attributes

Inherited from:
DblNSeqLikeCommonBuilder
final override def buffGrow(buff: BuffT, value: B): Unit

A mutable operation that extends the ArrayBuffer by a single element of type B.

A mutable operation that extends the ArrayBuffer by a single element of type B.

Attributes

Definition Classes
Inherited from:
DblNSeqLikeMapBuilder
def buffGrowIter(buff: BuffT, values: Iterable[B]): Unit

A mutable operation that extends the ArrayBuffer with the elements of the Iterable operand.

A mutable operation that extends the ArrayBuffer with the elements of the Iterable operand.

Attributes

Inherited from:
SeqLikeMapBuilder
final override def buffToSeqLike(buff: BuffT): BB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Definition Classes
Inherited from:
DblNSeqLikeCommonBuilder
final override def elemProdSize: Int
def fromDblArray(array: Array[Double]): BB

Attributes

Inherited from:
DblNSeqLikeCommonBuilder
final override def indexSet(seqLike: BB, index: Int, value: B): Unit

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Attributes

Definition Classes
Inherited from:
Dbl2SeqLikeMapBuilder
final override def newBuff(length: Int): BuffT

Creates a new empty Buff with a default capacity of 4 elements.

Creates a new empty Buff with a default capacity of 4 elements.

Attributes

Definition Classes
Inherited from:
DblNSeqLikeCommonBuilder
final override def uninitialised(length: Int): BB

Creates a new uninitialised Arr of type ArrB of the given length.

Creates a new uninitialised Arr of type ArrB of the given length.

Attributes

Definition Classes
Inherited from:
DblNSeqLikeMapBuilder