Пример #1
0
        public void runStarCrossPoly()
        {
            const int size = 1000;
            var       env  = new Envelope(0, 100, 0, 100);
            var       geom = StarCross.Star(env, size, geomFact);

            //System.out.println(geom);
            checkValid("StarCross " + geom.GeometryType + "   (size = " + size + ")", geom);
        }
Пример #2
0
        public void runStarCrossRing()
        {
            const int size = 1000;
            var       env  = new Envelope(0, 100, 0, 100);
            var       poly = StarCross.Star(env, size, geomFact);
            var       geom = poly.Boundary;

            //System.Console.WriteLine(geom);
            checkValid("StarCross " + geom.GeometryType + "   (size = " + size + ")", geom);
        }