Package org.n52.series.db.beans
Class GeometryEntity
java.lang.Object
org.n52.series.db.beans.GeometryEntity
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidexpand(GeometryEntity entity) getAlt()org.locationtech.jts.geom.GeometryReturns theGeometryor creates aGeometrywith the given srid in case of geometry has been set via lat/lon.org.locationtech.jts.geom.GeometryFactorygetLat()getLon()intgetSrid()booleanisEmpty()booleanbooleanvoidvoidsetGeometry(org.locationtech.jts.geom.Geometry geometry) voidsetGeometryFactory(org.locationtech.jts.geom.GeometryFactory geometryFactory) voidvoidsetSrid(int srid) toString()voidunion(GeometryEntity entity)
-
Field Details
-
PROPERTY_GEOMETRY
- See Also:
-
PROPERTY_LAT
- See Also:
-
PROPERTY_LON
- See Also:
-
PROPERTY_ALT
- See Also:
-
PROPERTY_SRID
- See Also:
-
-
Constructor Details
-
GeometryEntity
public GeometryEntity()
-
-
Method Details
-
isSetGeometry
public boolean isSetGeometry() -
setGeometry
public void setGeometry(org.locationtech.jts.geom.Geometry geometry) -
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()Returns theGeometryor creates aGeometrywith the given srid in case of geometry has been set via lat/lon.- Returns:
- the geometry or a created geometry (with given srid)
-
isSetLonLat
public boolean isSetLonLat() -
getLon
-
setLon
-
getLat
-
setLat
-
getAlt
-
setAlt
-
getSrid
public int getSrid() -
setSrid
-
isEmpty
public boolean isEmpty() -
getGeometryFactory
public org.locationtech.jts.geom.GeometryFactory getGeometryFactory() -
setGeometryFactory
public void setGeometryFactory(org.locationtech.jts.geom.GeometryFactory geometryFactory) -
union
-
expand
-
copy
-
toString
-