Beispiel #1
0
            public void Include(UTMCoords position)
            {
                if (position.Zone != zone)
                {
                    throw new Exception("Mismatched Zone");
                }

                xpos.Add(position.X);
                ypos.Add(position.Y);
            }
Beispiel #2
0
        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;
        }