|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ohf.stem.ui.ge.kml.LookAt
public class LookAt
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 |
---|
public LookAt(org.w3c.dom.Document doc)
doc
- Document being builtMethod Detail |
---|
public org.w3c.dom.Element getElement()
public void setCoordinates(double longitude, double latitude)
longitude
- latitude
- public void setCoordinates(java.lang.String coords)
coords
- as "longitude,latitude,altitude"public void setRange(double range)
range
- Altitude of the eyepublic void setTilt(double tilt)
tilt
- public void setHeading(double heading)
heading
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |