LSegIntN

ostrat.geom.LSegIntN
trait LSegIntN[VT <: IntNElem] extends LSegBase[VT], IntNElem

Line segments with vertices that are IntNElems. Used in the Tiling module.

Attributes

Graph
Supertypes
trait IntNElem
trait LSegBase[VT]
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
trait LSegInt4[VT]
class LSegHC
class LSegSC
trait LSegInt6[VT]
class LSegHvOffset

Members list

Value members

Inherited methods

def map[VB, LB <: LSegBase[VB]](f: VT => 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: VT => 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

Inherited and Abstract methods

def endPt: VT

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

Inherited from:
LSegBase

Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.

Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.

Attributes

Inherited from:
IntNElem
def intForeach(f: Int => 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

Inherited from:
IntNElem
def startPt: VT

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

Inherited from:
LSegBase