LinePathMetre3

final
class LinePathMetre3(val arrayUnsafe: Array[Double]) extends AnyVal with LinePathDbl3s[PtMetre3]

A quasi line path specified in 3D metre points. The points do not have to lie within the same plane. I'm not sure how useful this class will prove. It has been created for the intermediary step of converting from LinePathLLs to LinePathMetres on world maps.

Companion
object

Type members

Types

override

Value members

Concrete methods

override
def dataElem(d1: Double, d2: Double, d3: Double): PtMetre3
Definition Classes
override
def fElemStr: PtMetre3 => String
Definition Classes
override
def typeStr: String
Definition Classes
override
def unsafeFromArray(array: Array[Double]): LinePathMetre3
Definition Classes

Inherited methods

override
def arrLen: Int
Definition Classes
Inherited from
DataDblNs
def dataForeach[U](f: PtMetre3 => 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: (PtMetre3, 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: PtMetre3 => 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: PtMetre3 => 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, PtMetre3) => 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
DataDbl3s
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
override
def indexData(index: Int): PtMetre3
Definition Classes
Inherited from
DataDbl3s
def map[B <: ElemValueN, BB <: LinePathLike[B]](f: PtMetre3 => B)(implicit build: LinePathBuilder[B, BB]): BB
Inherited from
LinePathLike
override
Definition Classes
Inherited from
DataDblNs
final override
def toString: String
Definition Classes
DataGen -> Any
Inherited from
DataGen
final override
def unsafeSameSize(length: Int): ThisT
Definition Classes
Inherited from
DataDblNs
override
def unsafeSetElem(index: Int, elem: PtMetre3): Unit
Definition Classes
Inherited from
DataDbl3s
def unsafeSetElems(index: Int, elems: PtMetre3*): 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

Concrete fields

val arrayUnsafe: Array[Double]