public class GeometryEntity extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_GEOMETRY |
| Constructor and Description |
|---|
GeometryEntity() |
GeometryEntity(com.vividsolutions.jts.geom.Geometry geometry) |
| Modifier and Type | Method and Description |
|---|---|
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() |
Double |
getLat() |
Double |
getLon() |
int |
getSrid() |
boolean |
isEmpty() |
boolean |
isSetGeometry() |
boolean |
isSetLonLat() |
void |
setAlt(Double alt) |
GeometryEntity |
setGeometry(com.vividsolutions.jts.geom.Geometry geometry) |
void |
setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory geometryFactory) |
void |
setLat(Double lat) |
void |
setLon(Double lon) |
GeometryEntity |
setSrid(int srid) |
String |
toString() |
public static final 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 Double getLon()
public void setLon(Double lon)
public Double getLat()
public void setLat(Double lat)
public Double getAlt()
public void setAlt(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)
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.