public class ReferencedEnvelope extends Object implements 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(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() |
Double |
getMaxZ() |
MinMax<String> |
getMinMaxFromEnvelope()
Creates the minimum and maximum values of this envelope in the default
EPSG.
|
double |
getMinX() |
double |
getMinY() |
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(Double maxZ) |
ReferencedEnvelope |
setMinZ(Double minZ) |
ReferencedEnvelope |
setSrid(int srid)
Set SRID
|
org.locationtech.jts.geom.Geometry |
toGeometry() |
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<String> getMinMaxFromEnvelope()
MinMax describing the envelopepublic int getSrid()
public boolean isSetSrid()
public ReferencedEnvelope setSrid(int srid)
srid - the srid to setthispublic Double getMinZ()
public ReferencedEnvelope setMinZ(Double minZ)
minZ - the minZ to setpublic Double getMaxZ()
public ReferencedEnvelope setMaxZ(Double maxZ)
maxZ - the maxZ to setpublic boolean isSetMinMaxZ()
public boolean isSetEnvelope()
public 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–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.