|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.Coord
uk.me.parabola.imgfmt.app.CoordNode
public class CoordNode
A coordinate that is known to be a routing node. You can tell by the fact that getId() returns != 0.
Constructor Summary | |
---|---|
CoordNode(int latitude,
int longitude,
long id,
boolean boundary)
Construct from co-ordinates that are already in map-units. |
Method Summary | |
---|---|
long |
getId()
|
Methods inherited from class uk.me.parabola.imgfmt.app.Coord |
---|
bearingTo, compareTo, distance, distanceInDegreesSquared, equals, getHighwayCount, getLatitude, getLongitude, getOnBoundary, hashCode, incHighwayCount, makeBetweenPoint, preserved, preserved, quickDistance, setOnBoundary, slowDistance, toDegreeString, toOSMURL, toOSMURL, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoordNode(int latitude, int longitude, long id, boolean boundary)
latitude
- The latitude in map units.longitude
- The longitude in map units.id
- The ID of this routing node.boundary
- This is a routing node on the boundary.Method Detail |
---|
public long getId()
getId
in class Coord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |