Summary
Represents a cell in a Snubquad.Grid. Each cell may be a square or a triangle, which are all slightly
tilted.
Constructors
|
Represents a cell in a Snubquad.Grid. Each cell may be a square or a triangle, which are all slightly
tilted. |
Instance methods
bool | | Refer to the documentation for IEquatable<Snubquad>.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. |
IEnumerable<Vertex> | |
Returns the vertices along the perimeter of this Snubquad, going clockwise from the top (square
or up-pointing tri) or top-left (down-pointing tri). |
IEnumerable<Vertex> | Vertices(int dx, int dy, int dw, int dh) |
Returns the vertices along the perimeter of this Snubquad assuming that we’re rendering a
rectangle positioned at (dx/2, dy/2) and of size dw/2
× dh/2 and we want the edges of the rectangle straightened. |
Static methods
IEnumerable<Snubquad> | |
Returns a set of Snubquad cells that form a rectangle consisting of width×height×6 cells. |
IEnumerable<Snubquad> | |
Returns a set of Snubquad cells that form a rectangle positioned at (dx/2,
dy/2) and of size dw/2 × dh/2. |
Instance properties
PointD | | Refer to the documentation for IHasSvgGeometry.Center. |
IEnumerable<Edge> | | Refer to the documentation for IHasSvgGeometry.Edges. |
IEnumerable<Snubquad> | | Refer to the documentation for INeighbor<Snubquad>.Neighbors. |
Snubquad.Tile | | Specifies which of the six subtiles this cell is. |
int | | X-coordinate of the cell. |
int | | Y-coordinate of the cell. |
Nested types
| Describes a 2D grid of square cells surrounded by hexagonal cells. Looks a bit like a 7-segment display. |
| Identifies one of the three types of tiles in a Snubquad grid. |
|
Describes a vertex (gridline intersection) in a Snubquad.Grid. |