CompanionSeqLikeDbl2

ostrat.CompanionSeqLikeDbl2
trait CompanionSeqLikeDbl2[A <: Dbl2Elem, AA <: SeqLikeDbl2[A]] extends CompanionSeqLikeDblN[A, AA]

Class for the singleton companion objects of ArrDbl2 final classes to extend.

Attributes

Graph
Supertypes
trait CompanionSeqLikeDblN[A, AA]
class Object
trait Matchable
class Any
Known subtypes
object LinePathLL
object PolygonLL
object LinePath
object LinePathM2
object PolygonGen
object PolygonM2
object Pt2Arr
object PtM2Arr
object Vec2Arr
object MyDbl2Arr
Show all

Members list

Value members

Concrete methods

def apply(elems: A*): AA

Apply factory method for creating Arrs of Dbl2Elems.

Apply factory method for creating Arrs of Dbl2Elems.

Attributes

final def numElemDbls: Int

The number of Double values that are needed to construct an element of the defining-sequence.

The number of Double values that are needed to construct an element of the defining-sequence.

Attributes

Inherited methods

def empty: AA

Attributes

Inherited from:
CompanionSeqLikeDblN
def fromArray(array: Array[Double]): AA

Method to create the final object from the backing Array[Double]. End users should rarely have to use this method.

Method to create the final object from the backing Array[Double]. End users should rarely have to use this method.

Attributes

Inherited from:
CompanionSeqLikeDblN
def fromDbls(inp: Double*): AA

Factory method for creating the sequence defined object from raw double values. This will throw if the number of parameter Doubles is incorrect.

Factory method for creating the sequence defined object from raw double values. This will throw if the number of parameter Doubles is incorrect.

Attributes

Inherited from:
CompanionSeqLikeDblN
def uninitialised(length: Int): AA

returns a collection class of type ArrA, whose backing Array is uninitialised.

returns a collection class of type ArrA, whose backing Array is uninitialised.

Attributes

Inherited from:
CompanionSeqLikeDblN