Class CairoMap
Maps between world points and CiaroPoints.
This example shows how to implement a map for a grid with arbitrary polygons, using PolygonMap.
[Version(1, 2, 0)]
public class CairoMap : PolygonGridMap<CairoPoint, PointyHexPoint>, IMap<CairoPoint>, IGridToWorldMap<CairoPoint>
- Inheritance
-
CairoMap
- Implements
- Inherited Members
- Extension Methods
Constructors
CairoMap(Vector2)
public CairoMap(Vector2 cellDimensions)
Parameters
cellDimensions
Vector2
Methods
GetCellDimensions(CairoPoint)
Returns the cell dimensions for this cell.
Generally, for spliced points, these are the same for cells(points) with the same splice index.
public override Vector2 GetCellDimensions(CairoPoint point)
Parameters
point
CairoPoint