LineSegSC

ostrat.prid.psq.LineSegSC
See theLineSegSC companion object
case class LineSegSC(int1: Int, int2: Int, int3: Int, int4: Int) extends LineSegLikeInt4[SqCoord]

A 2d line upon a HexGrid defined by its start and end SqGrid SqCoords.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Int4Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def endC: Int
override def endPt: SqCoord

The end SqCoord point.

The end SqCoord point.

Attributes

Definition Classes
def endR: Int

Method needs removing. Uses the implicit SqGridSysFlat parameter to convert from SqCens to Pt2s.

Method needs removing. Uses the implicit SqGridSysFlat parameter to convert from SqCens to Pt2s.

Attributes

def startC: Int
override def startPt: SqCoord

The start SqCoord point.

The start SqCoord point.

Attributes

Definition Classes
def startR: Int

Inherited methods

override def intBufferAppend(buffer: ArrayBuffer[Int]): Unit

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

Definition Classes
Inherited from:
Int4Elem
override 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

Definition Classes
Inherited from:
Int4Elem
def map[VB, LB <: LineSegLike[VB]](f: SqCoord => 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: SqCoord => 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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product