public class Location extends AbstractObject implements Cloneable
Specifies the exact coordinates of the Model's origin in latitude, longitude, and
altitude. Latitude and longitude measurements are standard lat-lon projection with
WGS84 datum. Altitude is distance above the earth's surface, in meters, and is interpreted
according to
| Modifier and Type | Field and Description |
|---|---|
protected double |
altitude
|
protected double |
latitude
|
protected List<AbstractObject> |
locationObjectExtension
|
protected List<Object> |
locationSimpleExtension |
protected double |
longitude
|
id, objectSimpleExtension, targetId| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
Location |
addToLocationObjectExtension(AbstractObject locationObjectExtension)
add a value to the locationObjectExtension property collection
|
Location |
addToLocationSimpleExtension(Object locationSimpleExtension)
add a value to the locationSimpleExtension property collection
|
Location |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
Location |
clone() |
boolean |
equals(Object obj) |
double |
getAltitude() |
double |
getLatitude() |
List<AbstractObject> |
getLocationObjectExtension() |
List<Object> |
getLocationSimpleExtension() |
double |
getLongitude() |
int |
hashCode() |
void |
setAltitude(double value) |
void |
setLatitude(double value) |
void |
setLocationObjectExtension(List<AbstractObject> locationObjectExtension) |
void |
setLocationSimpleExtension(List<Object> locationSimpleExtension) |
void |
setLongitude(double value) |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
Location |
withAltitude(double altitude)
fluent setter
|
Location |
withId(String id)
fluent setter
|
Location |
withLatitude(double latitude)
fluent setter
|
Location |
withLocationObjectExtension(List<AbstractObject> locationObjectExtension)
fluent setter
|
Location |
withLocationSimpleExtension(List<Object> locationSimpleExtension)
fluent setter
|
Location |
withLongitude(double longitude)
fluent setter
|
Location |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
Location |
withTargetId(String targetId)
fluent setter
|
getId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected double longitude
Longitude of the point the camera is looking at. Angular distance in degrees, relative to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees. Values east of the Meridian range from 0 to 180 degrees.
Longitude of the virtual camera (eye point). Angular distance in degrees, relative to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees. Values east of the Meridian range from 0 to 180 degrees.
protected double latitude
Latitude of the point the camera is looking at. Degrees north or south of the Equator (0 degrees). Values range from −90 degrees to 90 degrees.
Latitude of the virtual camera. Degrees north or south of the Equator (0 degrees). Values range from −90 degrees to 90 degrees.
protected double altitude
Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.
Distance of the camera from the earth's surface, in meters. Interpreted according
to the Camera's
Specifies the distance above the earth's surface, in meters, and is interpreted according to the altitude mode.
protected List<AbstractObject> locationObjectExtension
public double getLongitude()
Doublelongitudepublic void setLongitude(double value)
value - allowed object is
Doublelongitudepublic double getLatitude()
Doublelatitudepublic void setLatitude(double value)
value - allowed object is
Doublelatitudepublic double getAltitude()
Doublealtitudepublic void setAltitude(double value)
value - allowed object is
Doublealtitudepublic List<Object> getLocationSimpleExtension()
locationSimpleExtensionpublic List<AbstractObject> getLocationObjectExtension()
locationObjectExtensionpublic int hashCode()
hashCode in class AbstractObjectpublic boolean equals(Object obj)
equals in class AbstractObjectpublic void setLocationSimpleExtension(List<Object> locationSimpleExtension)
locationSimpleExtension - locationSimpleExtensionpublic Location addToLocationSimpleExtension(Object locationSimpleExtension)
locationSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setLocationObjectExtension(List<AbstractObject> locationObjectExtension)
locationObjectExtension - locationObjectExtensionpublic Location addToLocationObjectExtension(AbstractObject locationObjectExtension)
locationObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class AbstractObjectobjectSimpleExtensionpublic Location addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic Location withLongitude(double longitude)
longitude - required parametersetLongitude(double)public Location withLatitude(double latitude)
latitude - required parametersetLatitude(double)public Location withAltitude(double altitude)
altitude - required parametersetAltitude(double)public Location withLocationSimpleExtension(List<Object> locationSimpleExtension)
locationSimpleExtension - required parameter#setLocationSimpleExtension(Listpublic Location withLocationObjectExtension(List<AbstractObject> locationObjectExtension)
locationObjectExtension - required parameter#setLocationObjectExtension(List) public Location withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic Location withId(String id)
AbstractObjectwithId in class AbstractObjectid - required parameterAbstractObject.setId(String)public Location withTargetId(String targetId)
AbstractObjectwithTargetId in class AbstractObjecttargetId - required parameterAbstractObject.setTargetId(String)public Location clone()
clone in class AbstractObjectCopyright © 2014 Micromata GmbH. All rights reserved.