|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.v0_6.impl.NodeLocation
public class NodeLocation
Represents the minimal geo-spatial information associated with a node.
Constructor Summary | |
---|---|
NodeLocation()
Creates a new empty instance which is marked as invalid. |
|
NodeLocation(double longitude,
double latitude)
Creates a new instance with populated location details. |
Method Summary | |
---|---|
double |
getLatitude()
Gets the latitude of the node. |
double |
getLongitude()
Gets the longitude of the node. |
boolean |
isValid()
Indicates if the node is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeLocation()
public NodeLocation(double longitude, double latitude)
longitude
- The longitude of the node.latitude
- The latitude of the node.Method Detail |
---|
public boolean isValid()
public double getLongitude()
public double getLatitude()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |