public class TileMatrixsCalculator
extends java.lang.Object
TileMatrix is split into TileTask assigned to worker in JobRunner. This class calculates a series of TileMatrix based on a cached face. Ask these TileMatrix to cover the surface to cut cache, while minimizing the number to cut cache. (Cut the cache surface is irregular, may be concave polygon)
| Constructor and Description | 
|---|
| TileMatrixsCalculator(Point2D pLeftTop, double pWidth, double pHeight)The Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<TileMatrix> | calculate(com.vividsolutions.jts.geom.Geometry cacheRegion)According to the input surface to calculate a series of TileMatrix. | 
public TileMatrixsCalculator(Point2D pLeftTop, double pWidth, double pHeight)
The Constructor.
pLeftTop - Cache the origin, the upper left cornerpWidth - tile Geographical range widthpHeight - tile Geographical range heightpublic java.util.List<TileMatrix> calculate(com.vividsolutions.jts.geom.Geometry cacheRegion)
cacheRegion -