Interface FeatureWith.FeatureWithGeometry

All Known Implementing Classes:
AbstractMonitoringFeature, AbstractSamplingFeature, SamplingFeature, SfSpecimen, TsmlMonitoringFeature, WmlMonitoringPoint
Enclosing interface:
FeatureWith

public static interface FeatureWith.FeatureWithGeometry
  • Method Summary

    Modifier and Type
    Method
    Description
    org.locationtech.jts.geom.Geometry
    Get feature geometry
    default boolean
    Check whether geometry is set
    void
    setGeometry(org.locationtech.jts.geom.Geometry geometry)
    Set feature geometry, checks whether srid is valid
  • Method Details

    • 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