source: josm/trunk/src/org/openstreetmap/josm/data/osm/INode.java@ 11909

Last change on this file since 11909 was 9460, checked in by Don-vip, 8 years ago

javadoc

  • Property svn:eol-style set to native
File size: 938 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.osm;
3
4import org.openstreetmap.josm.data.coor.EastNorth;
5import org.openstreetmap.josm.data.coor.LatLon;
6
7/**
8 * INode captures the common functions of {@link Node} and {@link NodeData}.
9 * @since 4098
10 */
11public interface INode extends IPrimitive {
12
13 /**
14 * Returns lat/lon coordinates of this node.
15 * @return lat/lon coordinates of this node
16 */
17 LatLon getCoor();
18
19 /**
20 * Sets lat/lon coordinates of this node.
21 * @param coor lat/lon coordinates of this node
22 */
23 void setCoor(LatLon coor);
24
25 /**
26 * Returns east/north coordinates of this node.
27 * @return east/north coordinates of this node
28 */
29 EastNorth getEastNorth();
30
31 /**
32 * Sets east/north coordinates of this node.
33 * @param eastNorth east/north coordinates of this node
34 */
35 void setEastNorth(EastNorth eastNorth);
36}
Note: See TracBrowser for help on using the repository browser.