- java.lang.Object
-
- org.arakhne.afc.gis.location.AbstractGeoLocation
-
- org.arakhne.afc.gis.location.GeoLocationNowhere
-
- All Implemented Interfaces:
Comparable<GeoLocation>
,GeoLocation
public final class GeoLocationNowhere extends AbstractGeoLocation
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
-
-
Constructor Summary
Constructors Constructor Description GeoLocationNowhere(UUID objectID)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashCode()
Rectangle2d
toBounds2D()
Replies the area cover by this location.GeodesicPosition
toGeodesicPosition()
Replies the WSG84 (GPS) representation of this point.GeoId
toGeoId()
Replies the GeoId representation of the geo-location.-
Methods inherited from class org.arakhne.afc.gis.location.AbstractGeoLocation
compareTo, equals, toString, toUUID
-
-
-
-
Constructor Detail
-
GeoLocationNowhere
public GeoLocationNowhere(UUID objectID)
Constructor.- Parameters:
objectID
- is the identifier of the associated object.
-
-
Method Detail
-
toGeoId
@Pure public GeoId toGeoId()
Description copied from interface:GeoLocation
Replies the GeoId representation of the geo-location.- Returns:
- the GeoId representation of this location
-
hashCode
@Pure public int hashCode()
- Specified by:
hashCode
in classAbstractGeoLocation
-
toBounds2D
@Pure public Rectangle2d toBounds2D()
Description copied from interface:GeoLocation
Replies the area cover by this location.- Returns:
- the bounds
-
toGeodesicPosition
@Pure public GeodesicPosition toGeodesicPosition()
Description copied from interface:GeoLocation
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
null
if the GPS point could not be computed.
-
-