Examples of printStop()


Examples of org.codemap.util.StopWatch.printStop()

        StopWatch stopWatch = new StopWatch("DEM").start();
        // TODO a map configuration on map should return locations on map
        for (Location each: map.getDEMLocations()) {
            elevateHill(each, computePie(each));
        }
        stopWatch.printStop();
    }

    private void elevateHill(Location each, float[][] pie) {
        final int y0, x0, top, bottom, left, right;
        y0 = each.py;
View Full Code Here

Examples of org.codemap.util.StopWatch.printStop()

    private void paintBackground(ProgressMonitor monitor, GC gc, MapInstance mapInstance, DigitalElevationModel elevationModel, HillShading hillShading, MapScheme<MColor> colors) {
        if (elevationModel == null) {
            StopWatch stopWatch = new StopWatch("Background (Draft)").start();
            paintDraft(monitor, gc, mapInstance);
            stopWatch.printStop();
        }
        else {
            StopWatch stopWatch = new StopWatch("Background").start();
            paintHills(monitor, gc, mapInstance, elevationModel, hillShading, colors);
            stopWatch.printStop();
View Full Code Here

Examples of org.codemap.util.StopWatch.printStop()

            stopWatch.printStop();
        }
        else {
            StopWatch stopWatch = new StopWatch("Background").start();
            paintHills(monitor, gc, mapInstance, elevationModel, hillShading, colors);
            stopWatch.printStop();
        }
    }

    private void paintWater(ProgressMonitor monitor, GC gc) {
            if (monitor.isCanceled()) return;
View Full Code Here

Examples of org.codemap.util.StopWatch.printStop()

                if (isContourLine) {
                    hillshade[x][y] *= contour_darken_factor;
                }
            }
        }
        stopWatch.printStop();
        return hillshade;
    }
}
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.