Package net.algart.math.patterns

Examples of net.algart.math.patterns.UniformGridPattern.points()


        }
        if (p.isSurelyInteger()) {
            System.out.println("It is integer");
        }
        if (p.pointCount() < 1000) {
            Pattern samePoints = Patterns.newPattern(p.points());
            System.out.println("Pattern with same points: " + samePoints);
            if (samePoints instanceof UniformGridPattern && ((UniformGridPattern)samePoints).isActuallyRectangular()) {
                System.out.println("It is also rectangular");
            }
        }
View Full Code Here


        Set<IPoint> roundedPoints = p.roundedPoints();
        System.out.println(roundedPoints.size() + " rounded points");
        if (roundedPoints.size() < 1000) {
            System.out.println(new TreeSet<IPoint>(roundedPoints));
        }
        Set<Point> points = p.points();
        System.out.println(points.size() + " points");
        if (points.size() < 1000) {
            System.out.println(new TreeSet<Point>(points));
        }
        points = p.lowerSurface(0).points();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.