Dbl2SeqLikeCompanion

ostrat.Dbl2SeqLikeCompanion
trait Dbl2SeqLikeCompanion[A <: ElemDbl2, AA <: Dbl2SeqLike[A]] extends DblNSeqLikeCompanion[A, AA]

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MyDbl2s.type
object LinePath.type
object LinePathM.type
object PolygonGen.type
object PolygonM2.type
object Pt2Arr.type
object PtMetre2Arr.type
object Vec2s.type
object LinePathLL.type
object PolygonLL.type

Members list

Concise view

Value members

Concrete methods

def apply(elems: A*): AA

Apply factory method for creating Arrs of ElemDbl2s.

Apply factory method for creating Arrs of ElemDbl2s.

Attributes

final def elemNumDbls: 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:
DblNSeqLikeCompanion
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:
DblNSeqLikeCompanion
def fromDbls(elems: 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:
DblNSeqLikeCompanion
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:
DblNSeqLikeCompanion