Example #1
0
        public override Geometry Reverse()
        {
            var shell = (LinearRing)_shell.Reverse();
            var holes = new LinearRing[_holes.Length];

            for (int i = 0; i < _holes.Length; i++)
            {
                holes[i] = (LinearRing)_holes[i].Reverse();
            }
            return(new Polygon(shell, holes, Factory));
        }
Example #2
0
 private static LinearRing ReverseRing(LinearRing ring)
 {
     return((LinearRing)ring.Reverse());
 }