public class Location
extends java.lang.Object
构造器和说明 |
---|
Location()
构造函数
|
Location(double longitude,
double latitude,
double height)
构造函数
|
Location(Location source)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
double |
getHeight()
获取高度
|
double |
getLatitude()
获取纬度
|
double |
getLongitude()
获取经度
|
void |
setHeight(double height)
设置高度
|
void |
setLatitude(double latitude)
设置纬度
|
void |
setLocation(Location source)
设置位置
|
void |
setLongitude(double longitude)
设置经度
|
public Location(double longitude, double latitude, double height)
longitude
- latitude
- height
- public Location()
public Location(Location source)
source
- 位置public double getLongitude()
public void setLongitude(double longitude)
longitude
- public double getLatitude()
public void setLatitude(double latitude)
latitude
- public double getHeight()
public void setHeight(double height)
height
- public void setLocation(Location source)
source
-