LineSegLikeDbl4

ostrat.geom.LineSegLikeDbl4
trait LineSegLikeDbl4[VT <: Dbl2Elem] extends LineSegLikeDblN[VT], Dbl4Elem

A line segment where the start and end points are defined in Dbl2Elem vertices. Theis will be the case for the classic 2D space line segment a 2D line segment specified in metres and a line segment specified in latitude and longitude.

Attributes

Graph
Supertypes
trait Dbl4Elem
trait LineSegLikeDblN[VT]
trait DblNElem
trait LineSegLike[VT]
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
class LineSegLL
class LineSeg
class LineSegKm2
class LineSegM2

Members list

Value members

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:
Dbl4Elem
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:
Dbl4Elem
def map[VB, LB <: LineSegLike[VB]](f: VT => VB)(implicit build: LineSegLikeBuilderMap[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: VT => Option[VB])(implicit build: LineSegLikeBuilderMap[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

Inherited and Abstract methods

def dbl1: Double

Attributes

Inherited from:
Dbl4Elem
def dbl2: Double

Attributes

Inherited from:
Dbl4Elem
def dbl3: Double

Attributes

Inherited from:
Dbl4Elem
def dbl4: Double

Attributes

Inherited from:
Dbl4Elem
def endPt: VT

The end point of the LineSeglike. The type of start point will depend on the VT vertex type. For example a Pt2 for a LineSeg a PtM2 for a LineSegM2.

The end point of the LineSeglike. The type of start point will depend on the VT vertex type. For example a Pt2 for a LineSeg a PtM2 for a LineSegM2.

Attributes

Inherited from:
LineSegLike
def startPt: VT

The start point of the LineSeglike. The type of start point will depend on the VT vertex type. For example a Pt2 for a LineSeg a PtM2 for a LineSegM2.

The start point of the LineSeglike. The type of start point will depend on the VT vertex type. For example a Pt2 for a LineSeg a PtM2 for a LineSegM2.

Attributes

Inherited from:
LineSegLike