LSeg3

ostrat.geom.LSeg3
See theLSeg3 companion object
final class LSeg3(val dbl1: Double, val dbl2: Double, val dbl3: Double, val dbl4: Double, val dbl5: Double, val dbl6: Double) extends LSegDbl6[Pt3]

A 3-dimensional line segment. A straight line between two points in a 3d space.

Attributes

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

Members list

Value members

Concrete methods

def endPt: Pt3

The end Pt3.

The end Pt3.

Attributes

inline def endX: Double
inline def endY: Double
inline def endZ: Double
def startPt: Pt3

The start Pt3.

The start Pt3.

Attributes

inline def startX: Double
inline def startY: Double
inline def startZ: Double
def toXY: LSeg2

Drops the z components of this 3D line segment, returns a 2D LSeg2 with just the X and Y components.

Drops the z components of this 3D line segment, returns a 2D LSeg2 with just the X and Y components.

Attributes

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: Pt3 => 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: Pt3 => 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

Concrete fields

val dbl1: Double
val dbl2: Double
val dbl3: Double
val dbl4: Double
val dbl5: Double
val dbl6: Double