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 Polygon4Plus
trait Polygon3Plus
trait Polygon
trait PolygonLike[Pt2]
trait Pt2SeqSpec
trait SeqSpecDbl2[Pt2]
trait SeqSpecDblN[Pt2]
trait SeqSpec[Pt2]
trait Pt2SeqLike
trait SeqLikeDbl2[Pt2]
trait SeqLikeDblN[Pt2]
trait SpecialT
trait PointSeqLike[Pt2]
trait SeqLike[Pt2]
trait Approx[Double]
trait Equals
trait ShapeCentred
trait CentredElem
trait WithCentre
trait Shape
trait BoundedElem
trait Fillable
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

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, 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 fromArray(array: Array[Double]): HexReg

Implicits

Implicits

implicit val prolignImplicit: Prolign[HexReg]
implicit val rotateImplicit: Rotate[HexReg]
implicit val scaleImplicit: Scale[HexReg]
implicit val showImplicit: Show[HexReg]
implicit val slateImplicit: Slate[HexReg]