public class ChainOfNodes extends Object
| Constructor and Description |
|---|
ChainOfNodes(TLongList
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
|
TLongList |
getNodes()
|
boolean |
hasNodeIntersections()
Return whether this ring has intersections in terms of node ids appearing multiple times.
|
boolean |
isClosed()
|
boolean |
isValidRing()
|
List |
resolveNodeIntersections()
Build a new set of rings by splitting at node intersections.
|
public ChainOfNodes(TLongListnodeIds)
public TLongListgetNodes()
public boolean isClosed()
public int getLength()
public boolean isValidRing()
public boolean hasNodeIntersections()
public List<ChainOfNodes > resolveNodeIntersections()