public class GeometryEntity
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_ALT |
static java.lang.String |
PROPERTY_GEOMETRY |
static java.lang.String |
PROPERTY_LAT |
static java.lang.String |
PROPERTY_LON |
static java.lang.String |
PROPERTY_SRID |
| Constructor and Description |
|---|
GeometryEntity() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getAlt() |
org.locationtech.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. |
org.locationtech.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) |
void |
setGeometry(org.locationtech.jts.geom.Geometry geometry) |
void |
setGeometryFactory(org.locationtech.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 static final java.lang.String PROPERTY_LAT
public static final java.lang.String PROPERTY_LON
public static final java.lang.String PROPERTY_ALT
public static final java.lang.String PROPERTY_SRID
public boolean isSetGeometry()
public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
public org.locationtech.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 org.locationtech.jts.geom.GeometryFactory getGeometryFactory()
public void setGeometryFactory(org.locationtech.jts.geom.GeometryFactory geometryFactory)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.