Last change
on this file since 11710 was 9460, checked in by Don-vip, 8 years ago |
javadoc
|
-
Property svn:eol-style
set to
native
|
File size:
700 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * IWay captures the common functions of {@link Way} and {@link WayData}.
|
---|
6 | * @since 4098
|
---|
7 | */
|
---|
8 | public interface IWay extends IPrimitive {
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * Replies the number of nodes in this way.
|
---|
12 | *
|
---|
13 | * @return the number of nodes in this way.
|
---|
14 | */
|
---|
15 | int getNodesCount();
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Returns id of the node at given index.
|
---|
19 | * @param idx node index
|
---|
20 | * @return id of the node at given index
|
---|
21 | */
|
---|
22 | long getNodeId(int idx);
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * Determines if this way is closed.
|
---|
26 | * @return {@code true} if this way is closed, {@code false} otherwise
|
---|
27 | */
|
---|
28 | boolean isClosed();
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.