Examples of roundValues()


Examples of de.fhpotsdam.unfolding.core.Coordinate.roundValues()

      for (int row = minRow; row <= maxRow; row++) {

        // source coordinate wraps around the world:
        Coordinate coord = provider.sourceCoordinate(new Coordinate(row, col, zoomLevel));
        // make sure we still have ints:
        coord.roundValues();

        // keep this for later:
        visibleKeys.add(coord);

        if (!images.containsKey(coord)) {
View Full Code Here

Examples of de.fhpotsdam.unfolding.core.Coordinate.roundValues()

          // see if we have a parent coord for this tile?
          boolean gotParent = false;
          for (int i = (int) coord.zoom; i > 0; i--) {
            Coordinate zoomed = coord.zoomTo(i).container();
            zoomed.roundValues();
            if (images.containsKey(zoomed)) {
              visibleKeys.add(zoomed);
              gotParent = true;
              break;
            }
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.