public class NoValueCalculator
extends java.lang.Object
Constructor and Description |
---|
NoValueCalculator(java.util.List<TileRegion> tileRegions) |
NoValueCalculator(TileRegion tileRegion) |
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.
|
public NoValueCalculator(java.util.List<TileRegion> tileRegions)
public NoValueCalculator(TileRegion tileRegion)
public boolean[][] calculate(TileMatrix tileMatrix, Point2D origin, double tileWidth, double tileHeight)
tileMatrix
- the tile matrix.origin
- The origin coordinates of the tile matrixtileWidth
- The tile widthtileHeight
- The tile height