org.eclipse.ohf.stem.ui.ge.kml
Class LookAt

java.lang.Object
  extended by org.eclipse.ohf.stem.ui.ge.kml.LookAt

public class LookAt
extends java.lang.Object

Build the LookAt section of a KML document.

    
 


Constructor Summary
LookAt(org.w3c.dom.Document doc)
          LookAt constructor
 
Method Summary
 org.w3c.dom.Element getElement()
           
 void setCoordinates(double longitude, double latitude)
          Add coordinates to the LookAt section
 void setCoordinates(java.lang.String coords)
          Add a attributes to the LookAt section
 void setHeading(double heading)
          Add a attributes to the LookAt section
 void setRange(double range)
          Add a attributes to the LookAt section
 void setTilt(double tilt)
          Add a attributes to the LookAt section
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookAt

public LookAt(org.w3c.dom.Document doc)
LookAt constructor

Parameters:
doc - Document being built
Method Detail

getElement

public org.w3c.dom.Element getElement()
Returns:
LookAt Element

setCoordinates

public void setCoordinates(double longitude,
                           double latitude)
Add coordinates to the LookAt section

Parameters:
longitude -
latitude -

setCoordinates

public void setCoordinates(java.lang.String coords)
Add a attributes to the LookAt section

Parameters:
coords - as "longitude,latitude,altitude"

setRange

public void setRange(double range)
Add a attributes to the LookAt section

Parameters:
range - Altitude of the eye

setTilt

public void setTilt(double tilt)
Add a attributes to the LookAt section

Parameters:
tilt -

setHeading

public void setHeading(double heading)
Add a attributes to the LookAt section

Parameters:
heading -