PolygonValueNsBuilder

trait PolygonValueNsBuilder[B <: ElemValueN, BB <: PolygonLike[B]] extends PolygonBuilder[B, BB]

Trait for creating the line path builder instances for the PolygonBuilder type class, for classes / traits you control, should go in the companion object of B. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

trait PolygonBuilder[B, BB]
class Object
trait Matchable
class Any
trait PolygonDblNsBuilder[B, BB]
trait PolygonDbl2sBuilder[B, BB]
trait PolygonDbl3sBuilder[B, BB]
trait PolygonIntNsBuilder[B, BB]
trait PolygonInt2sBuilder[B, BB]

Type members

Inherited types

type BuffT <: SeqGen[B]
Inherited from
PolygonBuilder

Value members

Abstract methods

def elemProdSize: Int

Inherited methods

def arrSet(arr: BB, index: Int, value: B): Unit
Inherited from
PolygonBuilder
def buffContains(buff: BuffT, newElem: B): Boolean
Inherited from
PolygonBuilder
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.

Inherited from
PolygonBuilder
def buffGrowArr(buff: BuffT, arr: BB): Unit

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

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

Inherited from
DataBuilderCommon
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.

Inherited from
PolygonBuilder
def buffToBB(buff: BuffT): BB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Inherited from
DataBuilderCommon
def iterMap[A](inp: Iterable[A], f: A => B): BB
Inherited from
PolygonBuilder
def newBuff(length: Int): BuffT
Inherited from
DataBuilderCommon
def newPolygonT(length: Int): BB

Creates a new uninitialised class of type BB.

Creates a new uninitialised class of type BB.

Inherited from
PolygonBuilder