Last change
on this file since 12722 was 12161, checked in by michael2402, 7 years ago |
See #13415: Add the ILatLon interface, unify handling of Nodes and CachedLatLon
|
-
Property svn:eol-style
set to
native
|
File size:
846 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.coor.EastNorth;
|
---|
5 | import org.openstreetmap.josm.data.coor.ILatLon;
|
---|
6 | import org.openstreetmap.josm.data.coor.LatLon;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * INode captures the common functions of {@link Node} and {@link NodeData}.
|
---|
10 | * @since 4098
|
---|
11 | */
|
---|
12 | public interface INode extends IPrimitive, ILatLon {
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * Returns lat/lon coordinates of this node.
|
---|
16 | * @return lat/lon coordinates of this node
|
---|
17 | */
|
---|
18 | LatLon getCoor();
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Sets lat/lon coordinates of this node.
|
---|
22 | * @param coor lat/lon coordinates of this node
|
---|
23 | */
|
---|
24 | void setCoor(LatLon coor);
|
---|
25 |
|
---|
26 | /**
|
---|
27 | * Sets east/north coordinates of this node.
|
---|
28 | * @param eastNorth east/north coordinates of this node
|
---|
29 | */
|
---|
30 | void setEastNorth(EastNorth eastNorth);
|
---|
31 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.