PolygonValueNBuilderMap

ostrat.geom.PolygonValueNBuilderMap

Trait for creating the line path builder instances for the PolygonLikeBuilderMap 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.

Attributes

Graph
Supertypes
trait PolygonLikeBuilderMap[B, BB]
trait BuilderMapSeqLike[B, BB]
trait BuilderSeqLike[BB]
trait BuilderMap[B, BB]
trait BuilderBoth[BB]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited and Abstract types

type BuffT <: Buff[B]

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

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

Attributes

Inherited from:
BuilderMapSeqLike

Value members

Inherited methods

def buffGrowIter(buff: BuffT, newElems: Iterable[B]): Unit

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

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

Attributes

Inherited from:
BuilderMapSeqLike
override def empty: BB

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes
Inherited from:
BuilderMapSeqLike

Inherited and Abstract methods

def buffGrow(buff: BuffT, newElem: 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

Inherited from:
BuilderMap
def buffToSeqLike(buff: BuffT): BB

converts a buffer of the given type to the target compound class.

converts a buffer of the given type to the target compound class.

Attributes

Inherited from:
BuilderBoth

Attributes

Inherited from:
BuilderSeqLikeValueN
def indexSet(seqLike: BB, index: Int, newElem: 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

Inherited from:
BuilderMapSeqLike
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

Inherited from:
BuilderBoth
override def uninitialised(length: Int): BB & SeqLikeBacked[B]

The uninitialised polygon must be backed by an Array to be constructed by this builder, even if all the final classes of the type do not inherit from SeqLikeBacked. For example this builder can not construct a specialised quadrilateral, rectangle or triangle class.

The uninitialised polygon must be backed by an Array to be constructed by this builder, even if all the final classes of the type do not inherit from SeqLikeBacked. For example this builder can not construct a specialised quadrilateral, rectangle or triangle class.

Attributes

Definition Classes
Inherited from:
PolygonLikeBuilderMap