Packages

trait HexReg extends ShapeCentred with Polygon6Plus with Show

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HexReg
  2. Show
  3. Polygon6Plus
  4. Polygon5Plus
  5. Polygon4Plus
  6. Polygon3Plus
  7. Polygon
  8. PolygonLike
  9. Approx
  10. Equals
  11. ShapeCentred
  12. CentredElem
  13. WithCentre
  14. Shape
  15. BoundedElem
  16. Fillable
  17. Drawable
  18. GeomElem
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def cen: Pt2

    The centre of this geometric / graphical element.

    The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

    Definition Classes
    WithCentre
  2. abstract def cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    WithCentre
  3. abstract def cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    WithCentre
  4. abstract def diameterIn: Double

    The diameter of the inner circle of this regular hexagon.

    The diameter of the inner circle of this regular hexagon. The shorter diameter from the centre of a side to the centre of the opposite side.

  5. abstract def sd1Cen: Pt2

    The centre or half way point of side 1 of this polygon.

    The centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.

    Definition Classes
    Polygon3Plus
  6. abstract def sd1CenX: Double

    The X component of the centre or half way point of side 1 of this polygon.

    The X component of the centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.

    Definition Classes
    Polygon3Plus
  7. abstract def sd1CenY: Double

    The Y component of the centre or half way point of side 1 of this polygon.

    The Y component of the centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.

    Definition Classes
    Polygon3Plus
  8. abstract def sd2Cen: Pt2

    The centre or half way point of side 2 of this polygon.

    The centre or half way point of side 2 of this polygon. Side 2 starts at the v1 vertex and ends at the v2 vertex. This can be thought of as vertex 1.5

    Definition Classes
    Polygon3Plus
  9. abstract def sd2CenX: Double

    The X component of the centre or half way point of side 2 of this polygon.

    The X component of the centre or half way point of side 2 of this polygon. Side 2 starts at the v1 vertex and ends at the v1 vertex. This can be thought of as vertex 1.5.

    Definition Classes
    Polygon3Plus
  10. abstract def sd2CenY: Double

    The Y component of the centre or half way point of side 3 of this polygon.

    The Y component of the centre or half way point of side 3 of this polygon. Side 2 starts at the v1 vertex and ends at the v2 vertex. This can be thought of as vertex 1.5.

    Definition Classes
    Polygon3Plus
  11. abstract def sd3Cen: Pt2

    The centre or half way point of side 3 of this polygon.

    The centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.

    Definition Classes
    Polygon3Plus
  12. abstract def sd3CenX: Double

    The X component of the centre or half way point of side 3 of this polygon.

    The X component of the centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.

    Definition Classes
    Polygon3Plus
  13. abstract def sd3CenY: Double

    The Y component of the centre or half way point of side 3 of this polygon.

    The Y component of the centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.

    Definition Classes
    Polygon3Plus
  14. abstract def sd4Cen: Pt2

    The centre or half way point of side 4 of this polygon.

    The centre or half way point of side 4 of this polygon. Side 4 starts at the v3 vertex and ends at the v4 vertex. This can be thought of as vertex 3.5.

    Definition Classes
    Polygon4Plus
  15. abstract def sd4CenX: Double

    The X component of the centre or half way point of side 4 of this polygon.

    The X component of the centre or half way point of side 4 of this polygon. Side 4 starts at the v3 vertex and ends at the v4 vertex. This can be thought of as vertex 3.5.

    Definition Classes
    Polygon4Plus
  16. abstract def sd4CenY: Double

    The Y component of the centre or half way point of side 4 of this polygon.

    The Y component of the centre or half way point of side 4 of this polygon. Side 4 starts at the v3 vertex and ends at the v4 vertex. This can be thought of as vertex 3.5.

    Definition Classes
    Polygon4Plus
  17. abstract def sd5Cen: Pt2

    The centre or half way point of side 5 of this polygon.

    The centre or half way point of side 5 of this polygon. Side 5 starts at the v4 vertex and ends at the v5 vertex. This can be thought of as vertex 4.5.

    Definition Classes
    Polygon5Plus
  18. abstract def sd5CenX: Double

    The X component of the centre or half way point of side 5 of this polygon.

    The X component of the centre or half way point of side 5 of this polygon. Side 5 starts at the v4 vertex and ends at the v5 vertex. This can be thought of as vertex 4.5.

    Definition Classes
    Polygon5Plus
  19. abstract def sd5CenY: Double

    The Y component of the centre or half way point of side 5 of this polygon.

    The Y component of the centre or half way point of side 5 of this polygon. Side 5 starts at the v4 vertex and ends at the v5 vertex. This can be thought of as vertex 4.5.

    Definition Classes
    Polygon5Plus
  20. abstract def sd6Cen: Pt2

    The centre or half way point of side 6 of this polygon.

    The centre or half way point of side 6 of this polygon. Side 6 starts at the v5 vertex and ends at the v6 vertex. This can be thought of as vertex 5.5.

    Definition Classes
    Polygon6Plus
  21. abstract def sd6CenX: Double

    The X component of the centre or half way point of side 6 of this polygon.

    The X component of the centre or half way point of side 6 of this polygon. Side 6 starts at the v5 vertex and ends at the v6 vertex. This can be thought of as vertex 5.5.

    Definition Classes
    Polygon6Plus
  22. abstract def sd6CenY: Double

    The Y component of the centre or half way point of side 6 of this polygon.

    The Y component of the centre or half way point of side 6 of this polygon. Side 5 starts at the v5 vertex and ends at the v6 vertex. This can be thought of as vertex 5.5.

    Definition Classes
    Polygon6Plus
  23. abstract def show(way: Way = Show.Standard, maxPlaces: Int = -1, minPlaces: Int = 0): String

    Intended to be a multiple parameter comprehensive Show method.

    Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

    Definition Classes
    Show
  24. abstract def str: String

    The most basic Show method, paralleling the strT method on ShowT type class instances.

    The most basic Show method, paralleling the strT method on ShowT type class instances.

    Definition Classes
    Show
  25. abstract def syntaxdepth: Int
    Definition Classes
    Show
  26. abstract def v1: Pt2

    The 1st vertex, will throw on a 0 vertices polygon.

    The 1st vertex, will throw on a 0 vertices polygon.

    Definition Classes
    Polygon
  27. abstract def v1x: Double

    The X component of the 1st vertex, will throw on a 0 vertices polygon.

    The X component of the 1st vertex, will throw on a 0 vertices polygon.

    Definition Classes
    Polygon
  28. abstract def v1y: Double

    The Y component of the 1st vertex, will throw on a 0 vertices polygon.

    The Y component of the 1st vertex, will throw on a 0 vertices polygon.

    Definition Classes
    Polygon
  29. abstract def v2: Pt2

    The 2nd Vertex.

    The 2nd Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon3Plus
  30. abstract def v2x: Double

    The X component of the 2nd Vertex.

    The X component of the 2nd Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon3Plus
  31. abstract def v2y: Double

    The Y component of the 2nd Vertex.

    The Y component of the 2nd Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon3Plus
  32. abstract def v3: Pt2

    The 3rd Vertex.

    The 3rd Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon3Plus
  33. abstract def v3x: Double

    The X component of the 3rd Vertex.

    The X component of the 3rd Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon3Plus
  34. abstract def v3y: Double

    The Y component of the 3rd Vertex.

    The Y component of the 3rd Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon3Plus
  35. abstract def v4: Pt2

    The 4th Vertex.

    The 4th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon4Plus
  36. abstract def v4x: Double

    The X component of the 4th Vertex.

    The X component of the 4th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon4Plus
  37. abstract def v4y: Double

    The Y component of the 4th Vertex.

    The Y component of the 4th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon4Plus
  38. abstract def v5: Pt2

    The 5th Vertex.

    The 5th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon5Plus
  39. abstract def v5x: Double

    The X component of the 5th Vertex.

    The X component of the 5th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon5Plus
  40. abstract def v5y: Double

    The Y component of the 5th Vertex.

    The Y component of the 5th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon5Plus
  41. abstract def v6: Pt2

    The 6th Vertex.

    The 6th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon6Plus
  42. abstract def v6x: Double

    The X component of the 6th Vertex.

    The X component of the 6th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon6Plus
  43. abstract def y6: Double

    The Y component of the 6th Vertex.

    The Y component of the 6th Vertex. The default convention is for the vertices to be numbered in a clockwise direction with the 1st vertex immediately clockwise from 12 o'clock.

    Definition Classes
    Polygon6Plus

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def active(id: Any): PolygonActive
    Definition Classes
    Polygon
  5. def activeChildren(id: Any, children: GraphicElems): PolygonCompound
    Definition Classes
    Polygon
  6. def approx(that: Any, precision: Double): Boolean
    Definition Classes
    PolygonApprox
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def attribs: Arr[XANumeric]
    Definition Classes
    PolygonShape
  9. def blBounding: Pt2
    Definition Classes
    BoundedElem
  10. final def boundCen: Pt2

    The centre of the bounding rectangle.

    The centre of the bounding rectangle. consider also using cenDefault.

    Definition Classes
    BoundedElem
    Annotations
    @inline()
  11. def boundingHeight: Double
    Definition Classes
    BoundedElem
  12. def boundingRect: BoundingRect

    Currently throws, not sure if that is the correct behaviour.

    Currently throws, not sure if that is the correct behaviour. Creates a bounding rectangle for a collection of 2d points

    Definition Classes
    PolygonBoundedElem
  13. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  14. def brBounding: Pt2
    Definition Classes
    BoundedElem
  15. def canEqual(that: Any): Boolean

    This canEqual override allow the comparison of Shapes.

    This canEqual override allow the comparison of Shapes.

    Definition Classes
    Shape
  16. final def cenDefault: Pt2

    The default centre of this object is the centre.

    The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

    Definition Classes
    CentredElemBoundedElem
  17. def cenPt: Pt2

    The centre point of this Polygon.

    The centre point of this Polygon. The default centre for Polygons is the centre of the bounding rectangle.

    Definition Classes
    Polygon
  18. def cenVec: Vec2
    Definition Classes
    Polygon
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  20. final def diameterOut: Double

    The diameter of the outer circle of this regular hexagon.

    The diameter of the outer circle of this regular hexagon. The longer diameter length from a vertex to the opposite vertex. This lenght is twice the length of the hexagon side.

    Annotations
    @inline()
  21. def draw(lineColour: Colour = Black, lineWidth: Double = 2): PolygonDraw

    Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

    Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

    Definition Classes
    PolygonShapeDrawable
  22. def drawActive(lineColour: Colour = Black, lineWidth: Double = 2, pointerID: Any): PolygonCompound
    Definition Classes
    Polygon
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. def fill(fillColour: Colour): PolygonFill

    Returns a fill graphic of this geometric object.

    Returns a fill graphic of this geometric object.

    Definition Classes
    PolygonShapeFillable
  26. def fillActive(fillColour: Colour, pointerID: Any): PolygonCompound
    Definition Classes
    Polygon
  27. def fillActiveDraw(fillColour: Colour, pointerID: Any, lineColour: Colour = Black, lineWidth: Double = 2): PolygonCompound

    Creates a PolygonCompound graphic that is active with a simple 1 colour fill and has a draw graphic for the Polygon.

    Creates a PolygonCompound graphic that is active with a simple 1 colour fill and has a draw graphic for the Polygon. The default values for the draw area line width of 2 and a colour of Black.

    Definition Classes
    Polygon
  28. def fillDraw(fillColour: Colour, lineColour: Colour, lineWidth: Double): PolygonCompound

    Returns a fill and draw graphic of this geometric object.

    Returns a fill and draw graphic of this geometric object.

    Definition Classes
    PolygonFillable
  29. def fillDrawActive(fillColour: Colour, pointerID: Any, lineWidth: Double, lineColour: Colour = Black): PolygonCompound
    Definition Classes
    Polygon
  30. def fillDrawText(fillColour: Colour, str: String, fontSize: Int = 24, lineColour: Colour = Black, lineWidth: Double = 2.0): PolygonCompound
    Definition Classes
    Polygon
  31. def fillDrawTextActive(fillColour: Colour, pointerID: Any, str: String, fontSize: Int = 24, lineWidth: Double, lineColour: Colour = Black, align: TextAlign = CenAlign): PolygonCompound
    Definition Classes
    Polygon
  32. def fillInt(intValue: Int): PolygonFill

    Returns a fill graphic of this geometric object from the Int RGBA value.

    Returns a fill graphic of this geometric object from the Int RGBA value.

    Definition Classes
    PolygonShapeFillable
  33. def fillText(fillColour: Colour, str: String, fontSize: Int = 10, textColour: Colour = Black, layer: Int = 0): PolygonCompound
    Definition Classes
    Polygon
  34. def fillTextActive(fillColour: Colour, pointerEv: Any, str: String, fontSize: Int = 24, fontColour: Colour = Black, align: TextAlign = CenAlign): PolygonCompound
    Definition Classes
    Polygon
  35. def foreachVert[U](f: (Pt2) => U): Unit

    Performs the side effecting function on the Pt2 value of each vertex.

    Performs the side effecting function on the Pt2 value of each vertex.

    Definition Classes
    HexRegPolygonPolygonLike
  36. def foreachVertPairTail[U](f: (Double, Double) => U): Unit

    Foreach vertex excluding vertex 1, perform the side effecting function on the Tuple2 of the x and y values of the vertex.

    Foreach vertex excluding vertex 1, perform the side effecting function on the Tuple2 of the x and y values of the vertex.

    Definition Classes
    HexRegPolygon
  37. def foreachVertTail[U](f: (Pt2) => U): Unit

    Performs the side effecting function on the Pt2 value of each vertex, excluding vertex v1.

    Performs the side effecting function on the Pt2 value of each vertex, excluding vertex v1.

    Definition Classes
    HexRegPolygon
  38. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. def insVert(insertionPoint: Int, newVec: Pt2): Polygon

    Insert vertex.

    Insert vertex.

    Definition Classes
    Polygon
  41. def insVerts(insertionPoint: Int, newVecs: Pt2*): Polygon

    Insert vertices before the specified insertion vertex.

    Insert vertices before the specified insertion vertex.

    Definition Classes
    Polygon
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def negX: HexReg

    Mirror, reflection transformation of HexReg across the Y axis, returns a HexReg.

    Mirror, reflection transformation of HexReg across the Y axis, returns a HexReg.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  45. def negY: HexReg

    Mirror, reflection transformation of a HexReg across the X axis, returns a HexReg.

    Mirror, reflection transformation of a HexReg across the X axis, returns a HexReg.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. def parentFillText(pointerID: Any, fillColour: Colour, str: String, fontSize: Int = 10, textColour: Colour = Black, align: TextAlign = CenAlign): PolygonCompound
    Definition Classes
    Polygon
  49. def polygonMap(f: (Pt2) => Pt2): Polygon
    Definition Classes
    Polygon
    Annotations
    @inline()
  50. def precisionDefault: Double
    Definition Classes
    PolygonApprox
  51. def prolign(matrix: ProlignMatrix): HexReg

    Prolign 2d transformations, similar transformations that retain alignment with the axes.

    Prolign 2d transformations, similar transformations that retain alignment with the axes.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  52. def ptInside(pt: Pt2): Boolean

    Determines if the parameter point lies inside this Polygon.

    Determines if the parameter point lies inside this Polygon.

    Definition Classes
    Polygon
  53. def radiusIn: Double

    The radius of the inner circle of this regular hexagon.

    The radius of the inner circle of this regular hexagon. The shorter radius from the centre of the hexagon to the centre of a side.

    Annotations
    @inline()
  54. final def radiusOut: Double

    The radius of the outer circle of this regular hexagon.

    The radius of the outer circle of this regular hexagon. The longer radius length from the centre of the Hexagon to a vertex. Also the length of the hexagon side.

    Annotations
    @inline()
  55. def reflect(lineLike: LineLike): HexReg

    Reflect 2D geometric transformation across a line, line segment or ray on a HexReg, returns a HexReg.

    Reflect 2D geometric transformation across a line, line segment or ray on a HexReg, returns a HexReg. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  56. def rotate(angle: AngleVec): HexReg

    Rotation 2D geometric transformation on a Polygon, taking the rotation as a scalar measured in radians, returns a Polygon.

    Rotation 2D geometric transformation on a Polygon, taking the rotation as a scalar measured in radians, returns a Polygon. The Return type will be narrowed in some but not all sub traits / classes.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  57. def rotate180: HexReg

    Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable.

    Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  58. def rotate270: HexReg

    Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a Drawable, returns a Drawable.

    Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  59. def rotate90: HexReg

    Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a Drawable, returns a Drawable.

    Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  60. def scale(operand: Double): HexReg

    Uniform scaling against both X and Y axes transformation on a HexReg returning a HexReg.

    Uniform scaling against both X and Y axes transformation on a HexReg returning a HexReg. Use the xyScale method for differential scaling. The return type of this method will be narrowed further in descendant traits / classes.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  61. def scaleXY(xOperand: Double, yOperand: Double): Polygon

    XY scaling 2D geometric transformation on a Polygon returns a Polygon.

    XY scaling 2D geometric transformation on a Polygon returns a Polygon. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in some, but not all descendant Polygon types.

    Definition Classes
    PolygonShapeDrawableGeomElem
  62. def sd1: LineSeg

    Polygon side 1 from the last vertex to Vertex 1.

    Polygon side 1 from the last vertex to Vertex 1.

    Definition Classes
    Polygon3Plus
  63. def sd2: LineSeg

    Polygon side 2 from vertex 1 to vertex 2.

    Polygon side 2 from vertex 1 to vertex 2.

    Definition Classes
    Polygon3Plus
  64. def sd3: LineSeg

    Polygon side 3 from v2 to v3.

    Polygon side 3 from v2 to v3.

    Definition Classes
    Polygon3Plus
  65. def shearX(operand: Double): Polygon

    Shear 2D geometric transformation along the X Axis on a Polygon, returns a Polygon.

    Shear 2D geometric transformation along the X Axis on a Polygon, returns a Polygon. The return type will be narrowed in some but not all sub classes and traits.

    Definition Classes
    PolygonShapeDrawableGeomElem
  66. def shearY(operand: Double): Polygon

    Shear 2D geometric transformation along the Y Axis on a Polygon, returns a Polygon.

    Shear 2D geometric transformation along the Y Axis on a Polygon, returns a Polygon. The return type will be narrowed in sub classes and traits.

    Definition Classes
    PolygonShapeDrawableGeomElem
  67. def side(index: Int): LineSeg
    Definition Classes
    Polygon
    Annotations
    @inline()
  68. def sideForeach(f: (LineSeg) => Unit): Unit

    foreachs over the sides or edges of the Polygon These are of type LineSeg.

    foreachs over the sides or edges of the Polygon These are of type LineSeg.

    Definition Classes
    Polygon
  69. def sideIForeach(initCount: Int = 0)(f: (LineSeg, Int) => Unit): Unit

    foreachs over the sides or edges of the Polygon These are of type LineSeg.

    foreachs over the sides or edges of the Polygon These are of type LineSeg.

    Definition Classes
    Polygon
  70. def sidesIFlatMap[AA <: ArrImut[_]](initCount: Int = 0)(f: (LineSeg, Int) => AA)(implicit build: ArrTFlatBuilder[AA]): AA

    maps with a integer counter over the sides or edges of the Polygon These are of type LineSeg.

    maps with a integer counter over the sides or edges of the Polygon These are of type LineSeg.

    Definition Classes
    Polygon
  71. def sidesIMap[A, AA <: ArrImut[A]](initCount: Int = 0)(f: (LineSeg, Int) => A)(implicit build: ArrTBuilder[A, AA]): AA

    maps with a integer counter over the sides or edges of the Polygon These are of type LineSeg.

    maps with a integer counter over the sides or edges of the Polygon These are of type LineSeg.

    Definition Classes
    Polygon
  72. def sidesMap[A, AA <: ArrImut[A]](f: (LineSeg) => A)(implicit build: ArrTBuilder[A, AA]): AA

    maps over the sides or edges of the Polygon These are of type LineSeg.

    maps over the sides or edges of the Polygon These are of type LineSeg.

    Definition Classes
    Polygon
  73. def slate(offset: Vec2Like): Polygon

    Translate geometric transformation on a Polygon returns a Polygon.

    Translate geometric transformation on a Polygon returns a Polygon. The return type of this method will be narrowed further in most descendant traits / classes. The exceptions being those classes where the centring of the geometry at the origin is part of the type.

    Definition Classes
    Polygon
  74. def slateXY(xDelta: Double, yDelta: Double): HexReg

    Translate geometric transformation on a HexReg returns a HexReg.

    Translate geometric transformation on a HexReg returns a HexReg. The return type of this method will be narrowed further in most descendant traits / classes. The exceptions being those classes where the centring of the geometry at the origin is part of the type.

    Definition Classes
    HexRegPolygonShapeDrawableGeomElem
  75. def sline(index: Int): LineSeg
    Definition Classes
    Polygon
  76. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  77. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  78. def toLineSegs: LineSegs

    Converts this closed Polygon to LineSegs.

    Converts this closed Polygon to LineSegs. The LineSegs collection is empty of there are less than 2 vertices.

    Definition Classes
    Polygon
  79. final def toString(): String
    Definition Classes
    Show → Any
  80. def trBounding: Pt2
    Definition Classes
    BoundedElem
  81. def typeStr: String

    the name of the type of this object.

    the name of the type of this object.

    Definition Classes
    HexRegShow
  82. def vLast: Pt2

    The last vertex.

    The last vertex.

    Definition Classes
    Polygon3PlusPolygon
  83. def vert(index: Int): Pt2

    Returns the vertex of the given index.

    Returns the vertex of the given index. Throws if the index is out of range, if it less than 1 or greater than the number of vertices.

    Definition Classes
    HexRegPolygon
  84. def vertsArray: Array[Double]

    The vertices of this Polygon in an Array of Doubles.

    The vertices of this Polygon in an Array of Doubles.

    Definition Classes
    HexRegPolygon
  85. def vertsArrayX: Array[Double]

    The X component of the vertices of this Polygon in an Array of Doubles.

    The X component of the vertices of this Polygon in an Array of Doubles.

    Definition Classes
    HexRegPolygon
  86. def vertsArrayY: Array[Double]

    The Y component of the vertices of this Polygon in an Array of Doubles.

    The Y component of the vertices of this Polygon in an Array of Doubles.

    Definition Classes
    HexRegPolygon
  87. def vertsFoldLeft[B](initial: B)(f: (B, Pt2) => B): B
    Definition Classes
    Polygon
  88. def vertsIFlatMap[BB <: ArrImut[_]](iInit: Int = 0)(f: (Pt2, Int) => BB)(implicit build: ArrTFlatBuilder[BB]): BB

    flatMap with index to an immutable Arr.

    flatMap with index to an immutable Arr.

    Definition Classes
    Polygon
  89. def vertsMap[A, ArrT <: ArrImut[A]](f: (Pt2) => A)(implicit build: ArrTBuilder[A, ArrT]): ArrT
    Definition Classes
    Polygon
  90. final def vertsNum: Int

    A Hexagon has 6 vertices.

    A Hexagon has 6 vertices.

    Definition Classes
    HexRegPolygon
  91. def vertsTrans(f: (Pt2) => Pt2): Polygon

    A function that takes a 2D geometric transformation on a Pt2 as a parameter and performs the transformation on all the vertices returning a new transformed Polygon

    A function that takes a 2D geometric transformation on a Pt2 as a parameter and performs the transformation on all the vertices returning a new transformed Polygon

    Definition Classes
    Polygon
  92. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  93. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  95. def xVert(index: Int): Double

    Returns the X component of the vertex of the given number.

    Returns the X component of the vertex of the given number. Will throw an exception if the vertex index is out of range.

    Definition Classes
    HexRegPolygon
  96. def yVert(index: Int): Double

    Returns the Y component of the vertex of the given number.

    Returns the Y component of the vertex of the given number. Will throw an exception if the vertex index is out of range.

    Definition Classes
    HexRegPolygon

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Show

Inherited from Polygon6Plus

Inherited from Polygon5Plus

Inherited from Polygon4Plus

Inherited from Polygon3Plus

Inherited from Polygon

Inherited from PolygonLike[Pt2]

Inherited from Approx[Double]

Inherited from Equals

Inherited from ShapeCentred

Inherited from CentredElem

Inherited from WithCentre

Inherited from Shape

Inherited from BoundedElem

Inherited from Fillable

Inherited from Drawable

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped