HvOffset

ostrat.prid.phex.HvOffset
See theHvOffset companion object
class HvOffset(val int1: Int, val int2: Int, val int3: Int) extends Int3Elem

A point in HCoord space offset from an HVert towards a neighbouring HCen or HVert, defined in Ints.

Attributes

Companion
object
Graph
Supertypes
trait Int3Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

inline def c: Int

The c or column component of the HVert.

The c or column component of the HVert.

Attributes

def hCen: HCen

The HCen the HVDirn points to if it is coming from the correct type of HVert.

The HCen the HVDirn points to if it is coming from the correct type of HVert.

Attributes

def hVert2: HVert

Not sure what this is.

Not sure what this is.

Attributes

def hVert3: HVert

Not sure what this is.

Not sure what this is.

Attributes

def magnitude: Int
inline def r: Int

The r or row component of the HVert.

The r or row component of the HVert.

Attributes

def toPt2(f: HCoord => Pt2)(implicit hSys: HGridSys): Pt2

Converts this offset HVert to Pt2.

Converts this offset HVert to Pt2.

Attributes

def toPtM3(f: HCoord => PtM3)(implicit hSys: HGridSys): PtM3

Converts this HvOffset to a PtM3 using an HVert to PtM3 function.

Converts this HvOffset to a PtM3 using an HVert to PtM3 function.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def vHigh: Boolean
def vert: HVert

The HVert.

The HVert.

Attributes

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:
Int3Elem
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:
Int3Elem

Concrete fields

val int1: Int
val int2: Int
val int3: Int