public class SosEnvelope extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private com.vividsolutions.jts.geom.Envelope |
envelope
JTS envelope object
|
private static long |
serialVersionUID |
private int |
srid
SRID
|
Constructor and Description |
---|
SosEnvelope() |
SosEnvelope(com.vividsolutions.jts.geom.Envelope envelope,
int srid)
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
expandToInclude(com.vividsolutions.jts.geom.Envelope e)
Expand this envelope to include the given envelope.
|
void |
expandToInclude(SosEnvelope e)
Expand this envelope to include the given envelope.
|
com.vividsolutions.jts.geom.Envelope |
getEnvelope()
Get envelope
|
protected GeometryHandler |
getGeometryHandler() |
int |
getSrid()
Get SRID
|
int |
hashCode() |
static boolean |
isNotNullOrEmpty(SosEnvelope envelope)
Static method to check if an SosEnvelope is not null and is not empty
|
boolean |
isSetEnvelope() |
boolean |
isSetSrid() |
SosEnvelope |
setEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
Set envelope
|
SosEnvelope |
setSrid(int srid)
Set SRID
|
SosEnvelope |
switchCoordinatesIfNeeded()
Deprecated.
|
String |
toString() |
private static final long serialVersionUID
private com.vividsolutions.jts.geom.Envelope envelope
private int srid
public SosEnvelope()
public SosEnvelope(com.vividsolutions.jts.geom.Envelope envelope, int srid)
envelope
- JTS envelopesrid
- SRIDpublic com.vividsolutions.jts.geom.Envelope getEnvelope()
public void expandToInclude(com.vividsolutions.jts.geom.Envelope e)
e
- the envelope (may be null
)public void expandToInclude(SosEnvelope e)
e
- the envelope (may be null
)public SosEnvelope setEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
envelope
- the envelope to setpublic int getSrid()
public boolean isSetSrid()
public SosEnvelope setSrid(int srid)
srid
- the srid to setpublic boolean isSetEnvelope()
public static boolean isNotNullOrEmpty(SosEnvelope envelope)
envelope
- SosEnvelope to checktrue
, if SosEnvelope is not null and not empty.@Deprecated public SosEnvelope switchCoordinatesIfNeeded()
srid
- SRID to check axis order forGeometryHandler.isNorthingFirstEpsgCode(int)
protected GeometryHandler getGeometryHandler()
Copyright © 2012-2015 52north.org. All Rights Reserved.