public class Coordinate extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
elevation
Elevation in cm
|
protected int |
latitude
Latitude in 10E-7 degrees
|
protected int |
longitude
Longitude in 10E-7 degrees
|
| Constructor and Description |
|---|
Coordinate() |
Coordinate(int longitude,
int latitude,
int elevation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getElevation()
This method returns the elvation in m
|
double |
getLatitude()
This method returns the latitude in degrees.
|
double |
getLongitude()
This method returns the longitude in degrees.
|
protected int latitude
protected int longitude
protected int elevation
public Coordinate(int longitude,
int latitude,
int elevation)
longitude - Longitude in 10-7 degreeslatitude - Latitude in 10-7 degreeselevation - Elevation in cmpublic Coordinate()
public double getLatitude()
public double getLongitude()
public double getElevation()
Copyright © 2025. All rights reserved.