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 |
|---|---|
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() |
MinMax<String> |
getMinMaxFromEnvelope()
Creates the minimum and maximum values of this envelope in the default EPSG.
|
double |
getMinX() |
double |
getMinY() |
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 |
isSetSrid() |
ReferencedEnvelope |
setEnvelope(org.locationtech.jts.geom.Envelope envelope)
Set envelope
|
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 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.Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.