LineSeg3

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

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

Attributes

Companion
object
Graph
Supertypes
trait Dbl6Elem
trait DblNElem
trait LineSegLike[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: LineSeg

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

Drops the z components of this 3D line segment, returns a 2D LineSeg 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
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 <: LineSegLike[VB]](f: Pt3 => VB)(implicit build: LineSegLikeMapBuilder[VB, LB]): LB

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

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

Attributes

Inherited from:
LineSegLike
def mapOpt[VB, LB <: LineSegLike[VB]](f: Pt3 => Option[VB])(implicit build: LineSegLikeMapBuilder[VB, LB]): Option[LB]

Optionally Transforms this LineSegLike into a LineSegLike 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 LineSegLike into a LineSegLike 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:
LineSegLike

Concrete fields

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