public abstract class ResultLine extends AbstractLine
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ResultLine.Tags
Provides attributes to users of the Combiner's result.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
valid |
highwayRef, highwayType, tagsmodCount| Modifier | Constructor and Description |
|---|---|
protected |
ResultLine() |
| Modifier and Type | Method and Description |
|---|---|
long |
id() |
(package private) double |
length()
The geometric length of this line.
|
protected abstract void |
relocateGeneralisedNodes()
Fix topology after generalisation.
|
boolean |
valid() |
add, addFirst, addLast, coordinates, dataset, end, get, mutable, ref, remove, set, set, size, start, tags, typeadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic long id()
id in interface Lineid in class AbstractLineDataset.ID_NONEXISTENTpublic boolean valid()
double length()
protected abstract void relocateGeneralisedNodes()
Note that this method is possibly a misnomer: The nodes relocated are those that were previously affected by a generalisation process insofar as some of the lines that were using these nodes have been generalised. Nodes created in the generalisation process are not relocated.