Package org.n52.shetland.ogc.gml
Interface FeatureWith.FeatureWithGeometry
-
- All Known Implementing Classes:
AbstractMonitoringFeature,AbstractSamplingFeature,SamplingFeature,SfSpecimen,TsmlMonitoringFeature,WmlMonitoringPoint
- Enclosing interface:
- FeatureWith
public static interface FeatureWith.FeatureWithGeometry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.locationtech.jts.geom.GeometrygetGeometry()Get feature geometrydefault booleanisSetGeometry()Check whether geometry is setvoidsetGeometry(org.locationtech.jts.geom.Geometry geometry)Set feature geometry, checks whether srid is valid
-
-
-
Method Detail
-
getGeometry
org.locationtech.jts.geom.Geometry getGeometry()
Get feature geometry- Returns:
- Feature geometry
-
setGeometry
void setGeometry(org.locationtech.jts.geom.Geometry geometry)
Set feature geometry, checks whether srid is valid- Parameters:
geometry- Geometry to set
-
isSetGeometry
default boolean isSetGeometry()
Check whether geometry is set- Returns:
true, if geometry is set
-
-