HVertsLike

trait HVertsLike extends DataInt2s[HVert]

Common trait for Hverts and PolygonHC

trait DataGen[HVert]
class Any
class HVerts

Type members

Inherited types

type ThisT <: DataIntNs[A]
Inherited from
DataIntNs

Value members

Concrete methods

override
def dataElem(i1: Int, i2: Int): HVert
Definition Classes
override
def fElemStr: HVert => String
Definition Classes
def vertNum: Int

Inherited methods

def arrLen: Int

The length of the Array[Int] backing array.

The length of the Array[Int] backing array.

Inherited from
DataIntNs
def arrayUnsafe: Array[Int]

The backing Array[Int] of this collection class. End users should not normally need to interact with this directly.

The backing Array[Int] of this collection class. End users should not normally need to interact with this directly.

Inherited from
DataIntNs
def dataForeach[U](f: HVert => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
DataGen
def dataIForeach[U](f: (HVert, Int) => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
DataGen
Inherited from
DataGen
def dataMap[B, ArrB <: ArrBase[B]](f: HVert => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

Specialised map to an immutable ArrBase of B.

Specialised map to an immutable ArrBase of B.

Inherited from
DataGen
def dataTailForeach[U](f: HVert => U): Unit

Foreachs over the tail of the data sequence.

Foreachs over the tail of the data sequence.

Inherited from
DataGen
def dataTailfold[B](initial: B)(f: (B, HVert) => B): B

foldLeft over the tail of the data sequence.

foldLeft over the tail of the data sequence.

Inherited from
DataGen
override
def elemProdSize: Int
Definition Classes
Inherited from
DataInt2s
def elemsLenStr: 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.

Inherited from
DataGen
final override
def elemsNum: Int

The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon

The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon

Definition Classes
Inherited from
DataValueNs
final
def elemsStr: String

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Inherited from
DataGen
final override
def indexData(index: Int): HVert
Definition Classes
Inherited from
DataInt2s
override
Definition Classes
Inherited from
DataIntNs
final override
def toString: String
Definition Classes
DataGen -> Any
Inherited from
DataGen
def typeStr: String

String specifying the type of this object.

String specifying the type of this object.

Inherited from
DataGen
def unsafeFromArray(array: Array[Int]): ThisT
Inherited from
DataIntNs
final override
def unsafeSameSize(length: Int): ThisT

Method for creating a new Array[Int] backed collection class of this collection class's final type.

Method for creating a new Array[Int] backed collection class of this collection class's final type.

Definition Classes
Inherited from
DataIntNs
final override
def unsafeSetElem(index: Int, elem: HVert): Unit
Definition Classes
Inherited from
DataInt2s
def unsafeSetElems(index: Int, elems: HVert*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Inherited from
DataGen