com.supermap.ar.areffect
Class Location
- java.lang.Object
-
- com.supermap.ar.areffect.Location
-
public class Location extends java.lang.Object
Geographical position (WGS)
-
-
Constructor Summary
Constructors Constructor and Description Location()
The constructorLocation(double longitude, double latitude, double height)
The constructor.Location(Location source)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
getHeight()
Gets the widthdouble
getLatitude()
Gets the latitudedouble
getLongitude()
Gets longitudevoid
setHeight(double height)
Sets the heightvoid
setLatitude(double latitude)
Sets latitudevoid
setLocation(Location source)
set Locationvoid
setLongitude(double longitude)
Sets longitude
-
-
-
Constructor Detail
-
Location
public Location(double longitude, double latitude, double height)
The constructor.- Parameters:
longitude
-latitude
-height
-
-
Location
public Location()
The constructor
-
Location
public Location(Location source)
The constructor- Parameters:
source
- Location
-
-
Method Detail
-
getLongitude
public double getLongitude()
Gets longitude- Returns:
-
setLongitude
public void setLongitude(double longitude)
Sets longitude- Parameters:
longitude
-
-
getLatitude
public double getLatitude()
Gets the latitude- Returns:
-
setLatitude
public void setLatitude(double latitude)
Sets latitude- Parameters:
latitude
-
-
getHeight
public double getHeight()
Gets the width- Returns:
-
setHeight
public void setHeight(double height)
Sets the height- Parameters:
height
-
-
setLocation
public void setLocation(Location source)
set Location- Parameters:
source
-
-
-