|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object LatLonEle
public class LatLonEle
immutable latitude/longitude/elevation coordinate triple
Field Summary | |
---|---|
double |
ele
|
double |
lat
|
double |
lon
|
static String |
PATTERN
pattern for parseable arguments |
static String |
PATTERN_WITH_ELE
|
Constructor Summary | |
---|---|
LatLonEle(double lat,
double lon)
regular constructor (with default elevation of 0) |
|
LatLonEle(double lat,
double lon,
double ele)
regular constructor |
|
LatLonEle(String arg)
parsing constructor |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final double lat
public final double lon
public final double ele
public static final String PATTERN
public static final String PATTERN_WITH_ELE
Constructor Detail |
---|
public LatLonEle(double lat, double lon, double ele)
public LatLonEle(double lat, double lon)
public LatLonEle(String arg)
arg
- command line argument to be parsed;
formats see PATTERN
and PATTERN_WITH_ELE
Method Detail |
---|
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |