public class GeometryEntity extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_ALT |
static String |
PROPERTY_GEOMETRY |
static String |
PROPERTY_LAT |
static String |
PROPERTY_LON |
static String |
PROPERTY_SRID |
| Constructor and Description |
|---|
GeometryEntity() |
| 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) |
void |
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 static final String PROPERTY_LAT
public static final String PROPERTY_LON
public static final String PROPERTY_ALT
public static final String PROPERTY_SRID
public boolean isSetGeometry()
public void 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.