Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Struct: RT.Coordinates.Kite

Summary

Describes a kite-shaped cell in a Kite.Grid. The “spikier” vertex of the kite is the center of a hexagon; the sides adjacent are spokes connecting with the midpoints of the hexagon’s outline; and the rest form the outline.

Constructors

Kite(Hex hex, Kite.Position pos)
Constructor.
Kite(int q, int r, Kite.Position pos)

Instance methods

bool
Equals(Kite other)
  • Implements: IEquatable<Kite>.Equals(Kite)
Refer to the documentation for IEquatable<Kite>.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<Kite>
LargeHexagon(int sideLength)
Returns a collection of Kite tiles that form a larger hexagonal structure.

Operators

bool
operator==(Kite one, Kite two)
Equality operator.
bool
operator!=(Kite one, Kite two)
Inequality operator.

Instance properties

PointDRefer to the documentation for IHasSvgGeometry.Center.
IEnumerable<Link<Vertex>>Refer to the documentation for IHasSvgGeometry.Edges.
HexThe underlying hex tile. This kite forms one sixth of that hexagon.
IEnumerable<Kite>Refer to the documentation for INeighbor<Kite>.Neighbors.
Kite.PositionWhich of the kites within the hexagon this is.
Vertex[] Returns the vertices along the perimeter of this Kite, going clockwise from the “spiky” vertex (center of Kite.Hex).

Nested types

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