public class ReferencedEnvelope
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ReferencedEnvelope() |
ReferencedEnvelope(org.locationtech.jts.geom.Envelope envelope,
int srid)
constructor
|
ReferencedEnvelope(org.locationtech.jts.geom.Geometry geometry) |
| Modifier and Type | Method and Description |
|---|---|
ReferencedEnvelope |
copy() |
boolean |
equals(java.lang.Object obj) |
void |
expandToInclude(org.locationtech.jts.geom.Envelope e)
Expand this envelope to include the given envelope.
|
void |
expandToInclude(ReferencedEnvelope e)
Expand this envelope to include the given envelope.
|
org.locationtech.jts.geom.Coordinate |
getCoordinate() |
org.locationtech.jts.geom.Coordinate[] |
getCoordinates() |
org.locationtech.jts.geom.Envelope |
getEnvelope()
Get envelope
|
double |
getMaxX() |
double |
getMaxY() |
java.lang.Double |
getMaxZ() |
MinMax<java.lang.String> |
getMinMaxFromEnvelope()
Creates the minimum and maximum values of this envelope in the default
EPSG.
|
double |
getMinX() |
double |
getMinY() |
java.lang.Double |
getMinZ() |
int |
getSrid()
Get SRID
|
int |
hashCode() |
boolean |
is1D() |
static boolean |
isNotNullOrEmpty(ReferencedEnvelope envelope)
Static method to check if an SosEnvelope is not null and is not empty
|
boolean |
isSetEnvelope() |
boolean |
isSetMinMaxZ() |
boolean |
isSetSrid() |
ReferencedEnvelope |
setEnvelope(org.locationtech.jts.geom.Envelope envelope)
Set envelope
|
ReferencedEnvelope |
setMaxZ(java.lang.Double maxZ) |
ReferencedEnvelope |
setMinZ(java.lang.Double minZ) |
ReferencedEnvelope |
setSrid(int srid)
Set SRID
|
org.locationtech.jts.geom.Geometry |
toGeometry() |
java.lang.String |
toString() |
public ReferencedEnvelope()
public ReferencedEnvelope(org.locationtech.jts.geom.Geometry geometry)
public ReferencedEnvelope(org.locationtech.jts.geom.Envelope envelope,
int srid)
envelope - JTS envelopesrid - SRIDpublic org.locationtech.jts.geom.Envelope getEnvelope()
public void expandToInclude(org.locationtech.jts.geom.Envelope e)
e - the envelope (may be null)public void expandToInclude(ReferencedEnvelope e)
e - the envelope (may be null)public ReferencedEnvelope setEnvelope(org.locationtech.jts.geom.Envelope envelope)
envelope - the envelope to setthispublic MinMax<java.lang.String> getMinMaxFromEnvelope()
MinMax describing the envelopepublic int getSrid()
public boolean isSetSrid()
public ReferencedEnvelope setSrid(int srid)
srid - the srid to setthispublic java.lang.Double getMinZ()
public ReferencedEnvelope setMinZ(java.lang.Double minZ)
minZ - the minZ to setpublic java.lang.Double getMaxZ()
public ReferencedEnvelope setMaxZ(java.lang.Double maxZ)
maxZ - the maxZ to setpublic boolean isSetMinMaxZ()
public boolean isSetEnvelope()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic double getMinX()
public double getMaxX()
public double getMinY()
public double getMaxY()
public org.locationtech.jts.geom.Coordinate[] getCoordinates()
public org.locationtech.jts.geom.Coordinate getCoordinate()
public org.locationtech.jts.geom.Geometry toGeometry()
public boolean is1D()
public static boolean isNotNullOrEmpty(ReferencedEnvelope envelope)
envelope - SosEnvelope to checktrue, if SosEnvelope is not null and not empty.public ReferencedEnvelope copy()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.