FlatRhombPoint Structure |
Namespace: Gamelogic.Grids
[SerializableAttribute] [VersionAttribute(1, 0, 0)] [ImmutableAttribute] public struct FlatRhombPoint : IEdge<FlatHexPoint>, IEdge<PointyTriPoint>, ISplicedPoint<FlatRhombPoint, FlatHexPoint>, IGridPoint<FlatRhombPoint>, IEquatable<FlatRhombPoint>, IGridPoint, ISplicedVectorPoint<FlatRhombPoint, FlatHexPoint>
The FlatRhombPoint type exposes the following members.
| Name | Description | |
|---|---|---|
| FlatRhombPoint |
| Name | Description | |
|---|---|---|
| DecIndex | ||
| DistanceFrom | ||
| Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
| Equals(FlatRhombPoint) | ||
| GetColor |
Gives a coloring of the grid such that
if a point p has color k, then all points
p + m[ux, 0 | 0] + n[vx, vy | 0] have the same color
for any integers a and b.
Since version 1.7
| |
| GetColor12 | ||
| GetHashCode | (Overrides ValueTypeGetHashCode.) | |
| GetType | (Inherited from Object.) | |
| IncIndex | ||
| InvertIndex | ||
| MoveBackBy | ||
| MoveBy | ||
| Negate | ||
| ScaleDown | ||
| ScaleUp | ||
| Subtract | ||
| ToString | (Overrides ValueTypeToString.) | |
| Translate |
| Name | Description | |
|---|---|---|
| ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IEdgeFlatHexPointGetEdgeFaces | ||
| IEdgePointyTriPointGetEdgeFaces | ||
| IGridPointFlatRhombPointSpliceCount |