func (h *Grid) getVCWithinBounds(vc hexcoords.Vertex) hexcoords.Vertex { if h.WithinBounds(vc.Hex()) { return vc } var idents = vc.IdenticalVertices() for _, id := range idents[1:] { if h.WithinBounds(id.Hex()) { return id } } return vc }