-
- All Superinterfaces:
Comparable<GeoLocation>
- All Known Implementing Classes:
AbstractGeoLocation,GeoLocationArea,GeoLocationNowhere,GeoLocationPoint,GeoLocationPointList
public interface GeoLocation extends Comparable<GeoLocation>
Describes a geo-localized feature.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object location)Replies if the specified location is equals to this one.Rectangle2dtoBounds2D()Replies the area cover by this location.GeodesicPositiontoGeodesicPosition()Replies the WSG84 (GPS) representation of this point.GeoIdtoGeoId()Replies the GeoId representation of the geo-location.StringtoString()Replies the string representation of the geo-location.UUIDtoUUID()Replies the UUID of the geo-location.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
toString
@Pure String toString()
Replies the string representation of the geo-location.
-
toGeoId
@Pure GeoId toGeoId()
Replies the GeoId representation of the geo-location.- Returns:
- the GeoId representation of this location
-
toUUID
@Pure UUID toUUID()
Replies the UUID of the geo-location.- Returns:
- the UUID of this location
-
equals
@Pure boolean equals(Object location)
Replies if the specified location is equals to this one.
-
toBounds2D
@Pure Rectangle2d toBounds2D()
Replies the area cover by this location.- Returns:
- the bounds
-
toGeodesicPosition
@Pure GeodesicPosition toGeodesicPosition()
Replies the WSG84 (GPS) representation of this point.If this GeoLocation is not a point, the implementation class should provides a significant GPS point.
- Returns:
- the WSG84 (GPS) representation of this point; or
nullif the GPS point could not be computed.
-
-