GLG Toolkit

com.genlogic
Class GlgLatLonPoint

java.lang.Object
  extended by com.genlogic.GlgLatLonPoint

public class GlgLatLonPoint
extends java.lang.Object

Latitude/Longitude point for GIS coordinate conversion utilities.


Field Summary
 double lat
           
 double lon
           
 
Constructor Summary
GlgLatLonPoint()
          Default contsructor.
GlgLatLonPoint(double lat, double lon)
          Constructs a new GlgLatLonPoint with specified coordinates.
 
Method Summary
 void CopyFrom(GlgLatLonPoint point)
          Copies values from another GlgLatLonPoint.
 void FromString(java.lang.String str)
          Constructs a new GlgLatLonPoint taking lat/lon from a space separated string, for example: "42.5 -75".
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lat

public double lat

lon

public double lon
Constructor Detail

GlgLatLonPoint

public GlgLatLonPoint()
Default contsructor.


GlgLatLonPoint

public GlgLatLonPoint(double lat,
                      double lon)
Constructs a new GlgLatLonPoint with specified coordinates.

Method Detail

FromString

public void FromString(java.lang.String str)
Constructs a new GlgLatLonPoint taking lat/lon from a space separated string, for example: "42.5 -75".


CopyFrom

public void CopyFrom(GlgLatLonPoint point)
Copies values from another GlgLatLonPoint.


GLG Toolkit