LineSegKm3

ostrat.geom.LineSegKm3
See theLineSegKm3 companion object
class LineSegKm3(val xStartKilometresNum: Double, val yStartKilometresNum: Double, val zStartKilometresNum: Double, val xEndKilometresNum: Double, val yEndKilometresNum: Double, val zEndKilometresNum: Double) extends LineSegLength3[PtKm3]

A line segment in 3 dimensional space specified in kilometres. A straight line between two points in 3D.

Attributes

Companion
object
Graph
Supertypes
trait Dbl6Elem
trait DblNElem
trait LSegBase[PtKm3]
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def dbl1: Double

Attributes

Definition Classes
override def dbl2: Double

Attributes

Definition Classes
override def dbl3: Double

Attributes

Definition Classes
override def dbl4: Double

Attributes

Definition Classes
override def dbl5: Double

Attributes

Definition Classes
override def dbl6: Double

Attributes

Definition Classes
def endPt: PtKm3

The end point of the line segment. The type of start point will depend on the VT vertex type. For example a Pt2 for a LSeg2 a PtM2 for a LSegM2.

The end point of the line segment. The type of start point will depend on the VT vertex type. For example a Pt2 for a LSeg2 a PtM2 for a LSegM2.

Attributes

def startPt: PtKm3

The start point of the line segment The type of start point will depend on the VT vertex type. For example a Pt2 for a LSeg2 a PtM2 for a LSegM2.

The start point of the line segment The type of start point will depend on the VT vertex type. For example a Pt2 for a LSeg2 a PtM2 for a LSegM2.

Attributes

override def xEndMetresNum: Double

Attributes

Definition Classes
override def xStartMetresNum: Double

Attributes

Definition Classes
def xy: LSegKm2

Takes the X and Y components.

Takes the X and Y components.

Attributes

Scales the X and Y components to a scalar though the operand scaling length.

Scales the X and Y components to a scalar though the operand scaling length.

Attributes

override def yEndMetresNum: Double

Attributes

Definition Classes
override def yStartMetresNum: Double

Attributes

Definition Classes
override def zEndMetresNum: Double

Attributes

Definition Classes
override def zStartMetresNum: Double

Attributes

Definition Classes
def zsPos: Boolean

Inherited methods

override def dblBufferAppend(buffer: ArrayBuffer[Double]): Unit

Utility method to append this as an element to an ArrayBuffer[Double]. End users should rarely need to use this method.

Utility method to append this as an element to an ArrayBuffer[Double]. End users should rarely need to use this method.

Attributes

Definition Classes
Inherited from:
Dbl6Elem
final override def dblForeach(f: Double => Unit): Unit

Performs the side effecting function on each Double in this Product element.

Performs the side effecting function on each Double in this Product element.

Attributes

Definition Classes
Inherited from:
Dbl6Elem
def map[VB, LB <: LSegBase[VB]](f: PtKm3 => VB)(implicit build: BuilderMapLSegBase[VB, LB]): LB

Transforms this LSegBase into a LSegBase of type LB, by mapping the vertices to vertices of type VB.

Transforms this LSegBase into a LSegBase of type LB, by mapping the vertices to vertices of type VB.

Attributes

Inherited from:
LSegBase
def mapOpt[VB, LB <: LSegBase[VB]](f: PtKm3 => Option[VB])(implicit build: BuilderMapLSegBase[VB, LB]): Option[LB]

Optionally Transforms this LSegBase into a LSegBase of type LB, by mapping the vertices to vertices of type VB, as long as both vertices map to a Some result.

Optionally Transforms this LSegBase into a LSegBase of type LB, by mapping the vertices to vertices of type VB, as long as both vertices map to a Some result.

Attributes

Inherited from:
LSegBase