public class GeoLocation
Object representing geographical coordinates.
Constructor and Description |
---|
GeoLocation(GeoCoordinate geoCoordinate,
double azimuth)
Object representing geographical coordinates.
|
Modifier and Type | Method and Description |
---|---|
GeoCoordinate |
component1()
Coordinate of the location
|
double |
component2()
Azimuth of the location.
|
GeoLocation |
copy(GeoCoordinate geoCoordinate,
double azimuth)
Object representing geographical coordinates.
|
boolean |
equals(java.lang.Object p) |
double |
getAzimuth()
Azimuth of the location.
|
GeoCoordinate |
getGeoCoordinate()
Coordinate of the location
|
int |
hashCode() |
java.lang.String |
toString() |
public GeoLocation(GeoCoordinate geoCoordinate, double azimuth)
Object representing geographical coordinates.
geoCoordinate
- Coordinate of the locationazimuth
- Azimuth of the location. Expressed in degrees in range [0; 360). Negative if the azimuth is invalid.geoCoordinate
- Coordinate of the locationazimuth
- Azimuth of the location. Expressed in degrees in range [0; 360). Negative if the azimuth is invalid.public GeoCoordinate getGeoCoordinate()
Coordinate of the location
public double getAzimuth()
Azimuth of the location.
Expressed in degrees in range [0; 360). Negative if the azimuth is invalid.
public GeoCoordinate component1()
Coordinate of the location
public double component2()
Azimuth of the location.
Expressed in degrees in range [0; 360). Negative if the azimuth is invalid.
public GeoLocation copy(GeoCoordinate geoCoordinate, double azimuth)
Object representing geographical coordinates.
geoCoordinate
- Coordinate of the locationazimuth
- Azimuth of the location. Expressed in degrees in range [0; 360). Negative if the azimuth is invalid.public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)