public void Include(UTMCoords position) { if (position.Zone != zone) { throw new Exception("Mismatched Zone"); } xpos.Add(position.X); ypos.Add(position.Y); }
public UtmExtent(UTMCoords northEast, UTMCoords southWest) { if (northEast.Zone != southWest.Zone) { throw new Exception("Mismatched Zone"); } this.NorthEast = northEast; this.SouthWest = southWest; this.Zone = northEast.Zone; }