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

                xpos.Add(position.X);
                ypos.Add(position.Y);
            }
Esempio n. 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;
        }