public Spot GetSpot(float x, float y, float z) { Spot s = GetSpot2D(x, y); while (s != null && !s.IsCloseZ(z)) { s = s.next; } return(s); }