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, tags
modCount
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, type
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public long id()
id
in interface Line
id
in class AbstractLine
Dataset.ID_NONEXISTENT
public 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.