public class SegmentRing extends Object
| Constructor and Description |
|---|
SegmentRing(TLongList
|
| Modifier and Type | Method and Description |
|---|---|
TLongList |
getNodes()
|
boolean |
hasEnoughSegments()
|
boolean |
hasNodeIntersections()
Return whether this ring has intersections in terms of node ids appearing multiple times.
|
boolean |
isClosed()
|
List |
resolveNodeIntersections()
Build a new set of rings by splitting at node intersections.
|
LinearRing |
toLinearRing(OsmEntityProvider
|
public SegmentRing(TLongListnodeIds)
public TLongListgetNodes()
public boolean isClosed()
public boolean hasEnoughSegments()
public LinearRingtoLinearRing(OsmEntityProvider resolver) throws EntityNotFoundException
EntityNotFoundException
public boolean hasNodeIntersections()
public List<SegmentRing > resolveNodeIntersections()