gvsig-raster / org.gvsig.raster.wmts / trunk / org.gvsig.raster.wmts / org.gvsig.raster.wmts.ogc / org.gvsig.raster.wmts.ogc.api / src / main / java / org / gvsig / raster / wmts / ogc / struct / WMTSTileMatrix.java @ 2613
History | View | Annotate | Download (2.12 KB)
1 |
package org.gvsig.raster.wmts.ogc.struct; |
---|---|
2 |
|
3 |
import java.awt.geom.Point2D; |
4 |
import java.awt.geom.Rectangle2D; |
5 |
import java.util.List; |
6 |
|
7 |
public interface WMTSTileMatrix { |
8 |
/**
|
9 |
* Sets longitude first in the axis order read from the capabilities file
|
10 |
* @param force
|
11 |
*/
|
12 |
//public void setForceLongitudeFirstAxisOrder(boolean force);
|
13 |
|
14 |
public Rectangle2D getBBoxTileMatrixSet(); |
15 |
|
16 |
public double getScaleDenominator(); |
17 |
|
18 |
public int getTileWidth(); |
19 |
|
20 |
public int getTileHeight(); |
21 |
|
22 |
public long getMatrixWidth(); |
23 |
|
24 |
public long getMatrixHeight(); |
25 |
|
26 |
public double[] getTopLeftCorner(); |
27 |
|
28 |
public String getIdentifier(); |
29 |
|
30 |
/**
|
31 |
* Gets the width in world coordinates of a tile
|
32 |
* @return
|
33 |
*/
|
34 |
public double getWidthWCTile(boolean projected); |
35 |
|
36 |
/**
|
37 |
* Gets the height in world coordinates of a tile
|
38 |
* @return
|
39 |
*/
|
40 |
public double getHeightWCTile(boolean projected); |
41 |
|
42 |
/**
|
43 |
* This function will check if the request coordinates intersects with the tiles in the matrix. If a tile
|
44 |
* intersects then this will be added to the list.
|
45 |
* @deprecated this method was for grid subsets.
|
46 |
*/
|
47 |
public List<WMTSTile> intersects(boolean projected, WMTSTileMatrixLimits tileMatrixLimits, Rectangle2D request, Rectangle2D extentLayer); |
48 |
|
49 |
/**
|
50 |
* This function will check if the request coordinates intersects with the tiles in the matrix. If a tile
|
51 |
* intersects then this will be added to the list.
|
52 |
*/
|
53 |
public List<WMTSTile> intersects(boolean projected, Rectangle2D request, Rectangle2D extentLayer); |
54 |
|
55 |
|
56 |
/**
|
57 |
* This function will check if the request coordinates intersects with the tiles in the matrix. If a tile
|
58 |
* intersects then this will be added to the list.
|
59 |
*/
|
60 |
public List<WMTSTile> contains(boolean projected, Point2D point, Rectangle2D extentLayer); |
61 |
|
62 |
/**
|
63 |
* This function will check if the request coordinates intersects with the tiles in the matrix. If a tile
|
64 |
* intersects then this will be added to the list.
|
65 |
*/
|
66 |
public List<WMTSTile> contains(boolean projected, WMTSTileMatrixLimits tileMatrixLimits, Point2D point, Rectangle2D extentLayer); |
67 |
} |