public WPos CenterOfSubCell(CPos cell, SubCell subCell) { var index = (int)subCell; if (index >= 0 && index <= Grid.SubCellOffsets.Length) return CenterOfCell(cell) + Grid.SubCellOffsets[index]; return CenterOfCell(cell); }