Unified coordinate system for hexagons and vertices