public class GeometryEntity
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_GEOMETRY |
| Constructor and Description |
|---|
GeometryEntity() |
GeometryEntity(com.vividsolutions.jts.geom.Geometry geometry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getAlt() |
com.vividsolutions.jts.geom.Geometry |
getGeometry()
Returns the
Geometry or creates a Geometry with the given srid in case of geometry has
been set via lat/lon. |
com.vividsolutions.jts.geom.GeometryFactory |
getGeometryFactory() |
java.lang.Double |
getLat() |
java.lang.Double |
getLon() |
int |
getSrid() |
boolean |
isEmpty() |
boolean |
isSetGeometry() |
boolean |
isSetLonLat() |
void |
setAlt(java.lang.Double alt) |
GeometryEntity |
setGeometry(com.vividsolutions.jts.geom.Geometry geometry) |
void |
setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory geometryFactory) |
void |
setLat(java.lang.Double lat) |
void |
setLon(java.lang.Double lon) |
GeometryEntity |
setSrid(int srid) |
java.lang.String |
toString() |
public static final java.lang.String PROPERTY_GEOMETRY
public GeometryEntity(com.vividsolutions.jts.geom.Geometry geometry)
public GeometryEntity()
public boolean isSetGeometry()
public GeometryEntity setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
public com.vividsolutions.jts.geom.Geometry getGeometry()
Geometry or creates a Geometry with the given srid in case of geometry has
been set via lat/lon.public boolean isSetLonLat()
public java.lang.Double getLon()
public void setLon(java.lang.Double lon)
public java.lang.Double getLat()
public void setLat(java.lang.Double lat)
public java.lang.Double getAlt()
public void setAlt(java.lang.Double alt)
public int getSrid()
public GeometryEntity setSrid(int srid)
public boolean isEmpty()
public com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()
public void setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.