LineSegHC

ostrat.prid.phex.LineSegHC
See theLineSegHC companion object
case class LineSegHC(r1: Int, c1: Int, r2: Int, c2: Int) extends LineSegLikeInt4[HCoord] with Int4Elem

A 2d line upon a HexGrid defined by its start and end HGrid HCoords.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Int4Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

The end HCoord point.

The end HCoord point.

Attributes

def int1: Int
def int2: Int
def int3: Int
def int4: Int
def lineSeg(implicit grider: HGridSys): LineSeg

Uses the implicit HGridSysFlat parameter to convert from HCens to Pt2s.

Uses the implicit HGridSysFlat parameter to convert from HCens to Pt2s.

Attributes

The start HCoord point.

The start HCoord point.

Attributes

def transLineSeg(scale: Double, rOrigin: Int, cOrigin: Int): LineSeg
def transLineSeg(scale: Double, origin: HCoord): LineSeg

Incorrect.

Incorrect.

Attributes

Inherited methods

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: HCoord => VB)(implicit build: LineSegLikeMapBuilder[VB, LB]): LB

Attributes

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

Attributes

Inherited from:
LineSegLike

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product