com.supermap.services.components

Class NoValueCalculator

  • java.lang.Object
    • com.supermap.services.components.NoValueCalculator


  • public class NoValueCalculator
    extends java.lang.Object
    
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean[][] calculate(TileMatrix tileMatrix, Point2D origin, double tileWidth, double tileHeight)
      Calculates the value-free area of a given tile matrix.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoValueCalculator

        public NoValueCalculator(java.util.List<TileRegion> tileRegions)
        
      • NoValueCalculator

        public NoValueCalculator(TileRegion tileRegion)
        
    • Method Detail

      • calculate

        public boolean[][] calculate(TileMatrix tileMatrix,
                            Point2D origin,
                            double tileWidth,
                            double tileHeight)
        
        Calculates the value-free area of a given tile matrix.
        Parameters:
        tileMatrix - the tile matrix.
        origin - The origin coordinates of the tile matrix
        tileWidth - The tile width
        tileHeight - The tile height
        Returns: