com.supermap.ar.areffect
Class Location
- java.lang.Object
-
- com.supermap.ar.areffect.Location
-
public class Location extends java.lang.ObjectGeographical 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 doublegetHeight()Gets the widthdoublegetLatitude()Gets the latitudedoublegetLongitude()Gets longitudevoidsetHeight(double height)Sets the heightvoidsetLatitude(double latitude)Sets latitudevoidsetLocation(Location source)set LocationvoidsetLongitude(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-
-
-