Summary
Represents a cell in an OctoCell.Grid. Each cell may be an octagon or a square.
Constructors
Instance methods
bool | | Refer to the documentation for IEquatable<OctoCell>.Equals. |
bool | | Refer to the documentation for object.Equals. |
int | | Refer to the documentation for object.GetHashCode. |
string | | Refer to the documentation for object.ToString. |
Static methods
IEnumerable<OctoCell> | |
Returns a set of OctoCell cells that form a rectangle. Along the perimeter all the cells will be
octagons. Only squares internal to these octagons are included. |
Instance properties
PointD | | Refer to the documentation for IHasSvgGeometry.Center. |
IEnumerable<Link<Vertex>> | | Refer to the documentation for IHasSvgGeometry.Edges. |
bool | |
Specifies whether this cell is a square or an octagon. If it is a square, it is south-east of the octagon with
the same coordinates. |
IEnumerable<OctoCell> | | Refer to the documentation for INeighbor<OctoCell>.Neighbors. |
Vertex[] | |
Returns the vertices along the perimeter of this OctoCell, going clockwise from the top-left
(octagon) or top (square). |
int | | X-coordinate of the cell. |
int | | Y-coordinate of the cell. |
Nested types
| Describes a 2D grid of octagonal cells with (diagonal) squares filling the gaps. |
| Describes a vertex (gridline intersection) in an OctoCell.Grid. |