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

Concise view

Type members

Classlikes

final class HexRegImp(val unsafeArray: Array[Double]) extends HexReg with Show2[Pt2, Pt2]

Implementation class for the HexReg trait.

Implementation class for the HexReg trait.

Attributes

Graph
Supertypes
trait Show2[Pt2, Pt2]
trait TypeStr2[Pt2, Pt2]
trait TypeStrN
trait ShowN
trait HexReg
trait ShowDec
trait Show
trait TypeStr
trait Polygon
trait SeqSpec[Pt2]
trait SpecialT
trait SeqLike[Pt2]
trait Approx[Double]
trait Equals
trait Shape
trait Fillable
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any

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

Implicits

Implicits

implicit val scaleImplicit: Scale[HexReg]
implicit val showImplicit: ShowT[HexReg]
implicit val slateImplicit: Slate[HexReg]