de.micromata.opengis.kml.v_2_2_0
Class LatLonBox

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.AbstractObject
      extended by de.micromata.opengis.kml.v_2_2_0.AbstractLatLonBox
          extended by de.micromata.opengis.kml.v_2_2_0.LatLonBox
All Implemented Interfaces:
java.lang.Cloneable

public class LatLonBox
extends AbstractLatLonBox
implements java.lang.Cloneable

Specifies where the top, bottom, right, and left sides of a bounding box for the ground overlay are aligned. Specifies the latitude of the north edge of the bounding box, in decimal degrees from 0 to ±90. Specifies the latitude of the south edge of the bounding box, in decimal degrees from 0 to ±90. Specifies the longitude of the east edge of the bounding box, in decimal degrees from 0 to ±180. (For overlays that overlap the meridian of 180° longitude, values can extend beyond that range.) Specifies the longitude of the west edge of the bounding box, in decimal degrees from 0 to ±180. (For overlays that overlap the meridian of 180° longitude, values can extend beyond that range.) Specifies a rotation of the overlay about its center, in degrees. Values can be ±180. The default is 0 (north). Rotations are specified in a counterclockwise direction. 48.25475939255556 48.25207367852141 -90.86591508839973 -90.8714285289695 39.37878630116985


Field Summary
protected  java.util.List<AbstractObject> latLonBoxObjectExtension
          
protected  java.util.List<java.lang.Object> latLonBoxSimpleExtension
           
protected  double rotation
          
 
Fields inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractLatLonBox
abstractLatLonBoxObjectExtension, abstractLatLonBoxSimpleExtension, east, north, south, west
 
Fields inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractObject
id, objectSimpleExtension, targetId
 
Constructor Summary
LatLonBox()
           
 
Method Summary
 LatLonBox addToAbstractLatLonBoxObjectExtension(AbstractObject abstractLatLonBoxObjectExtension)
          add a value to the abstractLatLonBoxObjectExtension property collection
 LatLonBox addToAbstractLatLonBoxSimpleExtension(java.lang.Object abstractLatLonBoxSimpleExtension)
          add a value to the abstractLatLonBoxSimpleExtension property collection
 LatLonBox addToLatLonBoxObjectExtension(AbstractObject latLonBoxObjectExtension)
          add a value to the latLonBoxObjectExtension property collection
 LatLonBox addToLatLonBoxSimpleExtension(java.lang.Object latLonBoxSimpleExtension)
          add a value to the latLonBoxSimpleExtension property collection
 LatLonBox addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
          add a value to the objectSimpleExtension property collection
 LatLonBox clone()
           
 boolean equals(java.lang.Object obj)
           
 java.util.List<AbstractObject> getLatLonBoxObjectExtension()
           
 java.util.List<java.lang.Object> getLatLonBoxSimpleExtension()
           
 double getRotation()
           
 int hashCode()
           
 void setAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
           
 void setAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
           
 void setLatLonBoxObjectExtension(java.util.List<AbstractObject> latLonBoxObjectExtension)
           
 void setLatLonBoxSimpleExtension(java.util.List<java.lang.Object> latLonBoxSimpleExtension)
           
 void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
           
 void setRotation(double value)
           
 LatLonBox withAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
          fluent setter
 LatLonBox withAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
          fluent setter
 LatLonBox withEast(double east)
          fluent setter
 LatLonBox withId(java.lang.String id)
          fluent setter
 LatLonBox withLatLonBoxObjectExtension(java.util.List<AbstractObject> latLonBoxObjectExtension)
          fluent setter
 LatLonBox withLatLonBoxSimpleExtension(java.util.List<java.lang.Object> latLonBoxSimpleExtension)
          fluent setter
 LatLonBox withNorth(double north)
          fluent setter
 LatLonBox withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
          fluent setter
 LatLonBox withRotation(double rotation)
          fluent setter
 LatLonBox withSouth(double south)
          fluent setter
 LatLonBox withTargetId(java.lang.String targetId)
          fluent setter
 LatLonBox withWest(double west)
          fluent setter
 
Methods inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractLatLonBox
getAbstractLatLonBoxObjectExtension, getAbstractLatLonBoxSimpleExtension, getEast, getNorth, getSouth, getWest, setEast, setNorth, setSouth, setWest
 
Methods inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractObject
getId, getObjectSimpleExtension, getTargetId, setId, setTargetId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rotation

protected double rotation

Adjusts how the photo is placed inside the field of view. This element is useful if your photo has been rotated and deviates slightly from a desired horizontal view.

Indicates the angle of rotation of the parent object. A value of 0 means no rotation. The value is an angle in degrees counterclockwise starting from north. Use ±180 to indicate the rotation of the parent object from 0. The center of the , if not (.5,.5), is specified in .


latLonBoxSimpleExtension

protected java.util.List<java.lang.Object> latLonBoxSimpleExtension

latLonBoxObjectExtension

protected java.util.List<AbstractObject> latLonBoxObjectExtension

This is an abstract base class and cannot be used directly in a KML file. It provides the id attribute, which allows unique identification of a KML element, and the targetId attribute, which is used to reference objects that have already been loaded into Google Earth. The id attribute must be assigned if the mechanism is to be used.

Syntax:
<!-- abstract element; do not create -->
 <!-- Object id="ID" targetId="NCName" -->
 <!-- /Object> -->

Constructor Detail

LatLonBox

public LatLonBox()
Method Detail

getRotation

public double getRotation()
Returns:
possible object is Double
See Also:
rotation

setRotation

public void setRotation(double value)
Parameters:
value - allowed object is Double
See Also:
rotation

getLatLonBoxSimpleExtension

public java.util.List<java.lang.Object> getLatLonBoxSimpleExtension()
See Also:
latLonBoxSimpleExtension

getLatLonBoxObjectExtension

public java.util.List<AbstractObject> getLatLonBoxObjectExtension()
See Also:
latLonBoxObjectExtension

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractLatLonBox

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractLatLonBox

setLatLonBoxSimpleExtension

public void setLatLonBoxSimpleExtension(java.util.List<java.lang.Object> latLonBoxSimpleExtension)
Parameters:
latLonBoxSimpleExtension -
See Also:
latLonBoxSimpleExtension

addToLatLonBoxSimpleExtension

public LatLonBox addToLatLonBoxSimpleExtension(java.lang.Object latLonBoxSimpleExtension)
add a value to the latLonBoxSimpleExtension property collection

Parameters:
latLonBoxSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

setLatLonBoxObjectExtension

public void setLatLonBoxObjectExtension(java.util.List<AbstractObject> latLonBoxObjectExtension)
Parameters:
latLonBoxObjectExtension -
See Also:
latLonBoxObjectExtension

addToLatLonBoxObjectExtension

public LatLonBox addToLatLonBoxObjectExtension(AbstractObject latLonBoxObjectExtension)
add a value to the latLonBoxObjectExtension property collection

Parameters:
latLonBoxObjectExtension - Objects of the following type are allowed in the list: AbstractObject
Returns:
true (as general contract of Collection.add).

setObjectSimpleExtension

public void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
Overrides:
setObjectSimpleExtension in class AbstractLatLonBox
See Also:
objectSimpleExtension

addToObjectSimpleExtension

public LatLonBox addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
Description copied from class: AbstractObject
add a value to the objectSimpleExtension property collection

Overrides:
addToObjectSimpleExtension in class AbstractLatLonBox
Parameters:
objectSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

setAbstractLatLonBoxSimpleExtension

public void setAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
Overrides:
setAbstractLatLonBoxSimpleExtension in class AbstractLatLonBox
See Also:
abstractLatLonBoxSimpleExtension

addToAbstractLatLonBoxSimpleExtension

public LatLonBox addToAbstractLatLonBoxSimpleExtension(java.lang.Object abstractLatLonBoxSimpleExtension)
Description copied from class: AbstractLatLonBox
add a value to the abstractLatLonBoxSimpleExtension property collection

Overrides:
addToAbstractLatLonBoxSimpleExtension in class AbstractLatLonBox
Parameters:
abstractLatLonBoxSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

setAbstractLatLonBoxObjectExtension

public void setAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
Overrides:
setAbstractLatLonBoxObjectExtension in class AbstractLatLonBox
See Also:
abstractLatLonBoxObjectExtension

addToAbstractLatLonBoxObjectExtension

public LatLonBox addToAbstractLatLonBoxObjectExtension(AbstractObject abstractLatLonBoxObjectExtension)
Description copied from class: AbstractLatLonBox
add a value to the abstractLatLonBoxObjectExtension property collection

Overrides:
addToAbstractLatLonBoxObjectExtension in class AbstractLatLonBox
Parameters:
abstractLatLonBoxObjectExtension - Objects of the following type are allowed in the list: AbstractObject
Returns:
true (as general contract of Collection.add).

withRotation

public LatLonBox withRotation(double rotation)
fluent setter

Parameters:
rotation - required parameter
See Also:
setRotation(double)

withLatLonBoxSimpleExtension

public LatLonBox withLatLonBoxSimpleExtension(java.util.List<java.lang.Object> latLonBoxSimpleExtension)
fluent setter

Parameters:
latLonBoxSimpleExtension - required parameter
See Also:
#setLatLonBoxSimpleExtension(List)

withLatLonBoxObjectExtension

public LatLonBox withLatLonBoxObjectExtension(java.util.List<AbstractObject> latLonBoxObjectExtension)
fluent setter

Parameters:
latLonBoxObjectExtension - required parameter
See Also:
#setLatLonBoxObjectExtension(List)

withObjectSimpleExtension

public LatLonBox withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
Description copied from class: AbstractObject
fluent setter

Overrides:
withObjectSimpleExtension in class AbstractLatLonBox
Parameters:
objectSimpleExtension - required parameter
See Also:
#setObjectSimpleExtension(List)

withId

public LatLonBox withId(java.lang.String id)
Description copied from class: AbstractObject
fluent setter

Overrides:
withId in class AbstractLatLonBox
Parameters:
id - required parameter
See Also:
AbstractObject.setId(String)

withTargetId

public LatLonBox withTargetId(java.lang.String targetId)
Description copied from class: AbstractObject
fluent setter

Overrides:
withTargetId in class AbstractLatLonBox
Parameters:
targetId - required parameter
See Also:
AbstractObject.setTargetId(String)

withNorth

public LatLonBox withNorth(double north)
Description copied from class: AbstractLatLonBox
fluent setter

Overrides:
withNorth in class AbstractLatLonBox
Parameters:
north - required parameter
See Also:
AbstractLatLonBox.setNorth(double)

withSouth

public LatLonBox withSouth(double south)
Description copied from class: AbstractLatLonBox
fluent setter

Overrides:
withSouth in class AbstractLatLonBox
Parameters:
south - required parameter
See Also:
AbstractLatLonBox.setSouth(double)

withEast

public LatLonBox withEast(double east)
Description copied from class: AbstractLatLonBox
fluent setter

Overrides:
withEast in class AbstractLatLonBox
Parameters:
east - required parameter
See Also:
AbstractLatLonBox.setEast(double)

withWest

public LatLonBox withWest(double west)
Description copied from class: AbstractLatLonBox
fluent setter

Overrides:
withWest in class AbstractLatLonBox
Parameters:
west - required parameter
See Also:
AbstractLatLonBox.setWest(double)

withAbstractLatLonBoxSimpleExtension

public LatLonBox withAbstractLatLonBoxSimpleExtension(java.util.List<java.lang.Object> abstractLatLonBoxSimpleExtension)
Description copied from class: AbstractLatLonBox
fluent setter

Overrides:
withAbstractLatLonBoxSimpleExtension in class AbstractLatLonBox
Parameters:
abstractLatLonBoxSimpleExtension - required parameter
See Also:
#setAbstractLatLonBoxSimpleExtension(List)

withAbstractLatLonBoxObjectExtension

public LatLonBox withAbstractLatLonBoxObjectExtension(java.util.List<AbstractObject> abstractLatLonBoxObjectExtension)
Description copied from class: AbstractLatLonBox
fluent setter

Overrides:
withAbstractLatLonBoxObjectExtension in class AbstractLatLonBox
Parameters:
abstractLatLonBoxObjectExtension - required parameter
See Also:
#setAbstractLatLonBoxObjectExtension(List)

clone

public LatLonBox clone()
Overrides:
clone in class AbstractLatLonBox