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)); }
private static LinearRing ReverseRing(LinearRing ring) { return((LinearRing)ring.Reverse()); }