Changeset 5909 in josm for trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
- Timestamp:
- 2013-04-29T00:09:53+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
r5783 r5909 22 22 } 23 23 24 public Node getFirstNode(){ 24 /** 25 * Returns the first node of the way segment. 26 * @return the first node 27 */ 28 public Node getFirstNode() { 25 29 return way.getNode(lowerIndex); 26 30 } 27 31 32 /** 33 * Returns the second (last) node of the way segment. 34 * @return the second node 35 */ 28 36 public Node getSecondNode(){ 29 37 return way.getNode(lowerIndex + 1); … … 31 39 32 40 /** 33 * returns this way segment as complete way.34 * @return 41 * Returns this way segment as complete way. 42 * @return the way segment as {@code Way} 35 43 */ 36 44 public Way toWay() {
Note:
See TracChangeset
for help on using the changeset viewer.