| |
|
| java.lang.Object org.geotools.data.ows.CRSEnvelope
CRSEnvelope | public class CRSEnvelope implements Envelope(Code) | | A pair of coordinates and a reference system that represents a section of
the Earth
author: Richard Gould |
Field Summary | |
protected double | maxX | protected double | maxY | protected double | minX | protected double | minY |
Method Summary | |
public double | getCenter(int dimension) | public CoordinateReferenceSystem | getCoordinateReferenceSystem() Returns the coordinate reference system for this envelope. | public int | getDimension() | public String | getEPSGCode() | public double | getLength(int dimension) | public DirectPosition | getLowerCorner() | public double | getMaxX() | public double | getMaxY() | public double | getMaximum(int dimension) | public double | getMinX() | public double | getMinY() | public double | getMinimum(int dimension) | public DirectPosition | getUpperCorner() | public void | setEPSGCode(String epsgCode) | public void | setMaxX(double maxX) The maxX value is the higher X coordinate value
Parameters: maxX - the new value for maxX. | public void | setMaxY(double maxY) The maxY value is the higher Y coordinate value
Parameters: maxY - the new value for maxY. | public void | setMinX(double minX) The minX value is the lower X coordinate value
Parameters: minX - the new value for minX. | public void | setMinY(double minY) The minY value is the lower Y coordinate value
Parameters: minY - the new value for minY. | public String | toString() |
maxX | protected double maxX(Code) | | |
maxY | protected double maxY(Code) | | |
minX | protected double minX(Code) | | |
minY | protected double minY(Code) | | |
CRSEnvelope | public CRSEnvelope()(Code) | | Construct an empty BoundingBox
|
CRSEnvelope | public CRSEnvelope(String epsgCode, double minX, double minY, double maxX, double maxY)(Code) | | Create a bounding box with the specified properties
Parameters: epsgCode - The Coordinate Reference System this bounding box is in Parameters: minX - Parameters: minY - Parameters: maxX - Parameters: maxY - |
getCenter | public double getCenter(int dimension)(Code) | | |
getCoordinateReferenceSystem | public CoordinateReferenceSystem getCoordinateReferenceSystem()(Code) | | Returns the coordinate reference system for this envelope.
Current implementation always return
null , but it
may change in a future version.
|
getDimension | public int getDimension()(Code) | | |
getEPSGCode | public String getEPSGCode()(Code) | | The CRS is bounding box's Coordinate Reference System
the CRS/SRS value |
getLength | public double getLength(int dimension)(Code) | | |
getLowerCorner | public DirectPosition getLowerCorner()(Code) | | |
getMaxX | public double getMaxX()(Code) | | The maxX value is the higher X coordinate value
the bounding box's maxX value |
getMaxY | public double getMaxY()(Code) | | The maxY value is the higher Y coordinate value
the bounding box's maxY value |
getMaximum | public double getMaximum(int dimension)(Code) | | |
getMinX | public double getMinX()(Code) | | The minX value is the lower X coordinate value
the bounding box's minX value |
getMinY | public double getMinY()(Code) | | The minY value is the lower Y coordinate value
the bounding box's minY value |
getMinimum | public double getMinimum(int dimension)(Code) | | |
getUpperCorner | public DirectPosition getUpperCorner()(Code) | | |
setEPSGCode | public void setEPSGCode(String epsgCode)(Code) | | The CRS is bounding box's Coordinate Reference System
Parameters: epsgCode - the new value for the CRS/SRS |
setMaxX | public void setMaxX(double maxX)(Code) | | The maxX value is the higher X coordinate value
Parameters: maxX - the new value for maxX. Should be greater than minX. |
setMaxY | public void setMaxY(double maxY)(Code) | | The maxY value is the higher Y coordinate value
Parameters: maxY - the new value for maxY. Should be greater than minY. |
setMinX | public void setMinX(double minX)(Code) | | The minX value is the lower X coordinate value
Parameters: minX - the new value for minX. Should be less than maxX. |
setMinY | public void setMinY(double minY)(Code) | | The minY value is the lower Y coordinate value
Parameters: minY - the new value for minY. Should be less than maxY. |
|
|
|