Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Struct: RT.Coordinates.Rhomb

Summary

Describes a cell in a Rhomb.Grid. Three cells of this kind form a hexagon, which in turn tiles the plane.

Constructors

Constructor.
Rhomb(int q, int r, Rhomb.Position pos)

Instance methods

bool
Equals(Rhomb rhomb)
Refer to the documentation for IEquatable<Rhomb>.Equals.
bool
Equals(object obj)
  • Overrides: object.Equals(object)
Refer to the documentation for object.Equals.
int
  • Overrides: object.GetHashCode()
Refer to the documentation for object.GetHashCode.
string
  • Overrides: object.ToString()
Refer to the documentation for object.ToString.

Static methods

IEnumerable<Rhomb>
LargeHexagon(int sideLength)
Returns a collection of Rhomb tiles that form a larger hexagonal structure.

Instance properties

PointDRefer to the documentation for IHasSvgGeometry.Center.
IEnumerable<Link<Vertex>>Refer to the documentation for IHasSvgGeometry.Edges.
HexThe underlying hex tile. This rhomb forms one third of that hexagon.
IEnumerable<Rhomb>Refer to the documentation for INeighbor<Rhomb>.Neighbors.
Rhomb.PositionWhich of the rhombs within the hexagon this is.
Vertex[] Returns the vertices along the perimeter of this Rhomb, going clockwise from the vertex at the center of Rhomb.Hex.

Nested types

Describes a grid structure consisting of Rhomb cells that join up in groups of 3 to form hexagons, which in turn tile the plane.
Identifies one of the Rhomb cells that make up a hexagon.
Describes one of the vertices of a Rhomb.