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

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

public class Point
extends java.lang.Object

Build the point section of a KML document.


Constructor Summary
Point(org.w3c.dom.Document doc)
          Point constructor
 
Method Summary
 org.w3c.dom.Element getElement()
           
 void setCoordinates(double longitude, double latitude)
          Add coordinates to the Point section
 void setCoordinates(double longitude, double latitude, int alt)
          Add coordinates to the Point section (with altitude)
 void setCoordinates(java.lang.String coord)
          Add coordinates as a String to the Point section
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

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

Parameters:
doc -
Method Detail

getElement

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

setCoordinates

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

Parameters:
longitude -
latitude -

setCoordinates

public void setCoordinates(double longitude,
                           double latitude,
                           int alt)
Add coordinates to the Point section (with altitude)

Parameters:
longitude -
latitude -
alt -

setCoordinates

public void setCoordinates(java.lang.String coord)
Add coordinates as a String to the Point section

Parameters:
coord - LatLong coordinates