HexReg

ostrat.geom.HexReg
See theHexReg companion trait
object HexReg

Companion object for HegReg trait, contains HexRegImp implementation case for the general case of regular Hexagons.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HexReg.type

Members list

Type members

Classlikes

final class HexRegImp(val arrayUnsafe: Array[Double]) extends HexReg, Tell2[Pt2, Pt2]

Implementation class for the HexReg trait.

Implementation class for the HexReg trait.

Attributes

Supertypes
trait Tell2[Pt2, Pt2]
trait Persist2[Pt2, Pt2]
trait Tell2Plused[Pt2, Pt2]
trait Persist2Plus[Pt2, Pt2]
trait Persist1Plus[Pt2]
trait PersistN
trait TellN
trait HexReg
trait Tell
trait Persist
trait Polygon6Plus
trait Polygon5Plus
trait Pt2SeqSpec
trait Pt2SeqLike
trait PointSeqLike[Pt2]
trait PolygonDbl2[Pt2]
trait SeqSpecDbl2[Pt2]
trait SeqLikeDbl2[Pt2]
trait PolygonDblN[Pt2]
trait SeqSpecDblN[Pt2]
trait SpecialT
trait Polygon4Plus
trait Polygon3Plus
trait Polygon
trait PolygonBase[Pt2]
trait VertSeqSpec[Pt2]
trait SeqSpec[Pt2]
trait SeqLike[Pt2]
trait Approx[Double]
trait Equals
trait ShapeCentred
trait CentredElem
trait WithCentre
trait Shape
trait BoundedElem
trait Fillable
trait Drawable
trait Aff2Elem
trait Simil2Elem
trait Axlign2Elem
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(dInner: Double, rotation: AngleVec, xCen: Double, yCen: Double): HexReg

Factory method for regular hexagon HexReg. Takes the inner diameter the rotation and then centre point. A rotation of 0 degrees places side 4 at the bottom parallel to the X axis and side1 at the top.

Factory method for regular hexagon HexReg. Takes the inner diameter the rotation and then centre point. A rotation of 0 degrees places side 4 at the bottom parallel to the X axis and side1 at the top.

Attributes

def apply(dInner: Double, rotation: AngleVec, cen: Pt2): HexReg

Factory method for regular hexagon HexReg. Takes the inner diameter the rotation and then centre point. A rotation of 0 degrees places side 4 at the bottom parallel to the X axis and side1 at the top.

Factory method for regular hexagon HexReg. Takes the inner diameter the rotation and then centre point. A rotation of 0 degrees places side 4 at the bottom parallel to the X axis and side1 at the top.

Attributes

def apply(dInner: Double, rotation: AngleVec): HexReg
def fromArray(array: Array[Double]): HexReg