public abstract class EdgeEndStar extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List |
edgeList
A list of all outgoing edges in the result, in CCW order
|
protected Map |
edgeMap
A map which maintains the edges in sorted order around the node
|
| Constructor and Description |
|---|
EdgeEndStar()
|
| Modifier and Type | Method and Description |
|---|---|
void |
computeLabelling(GeometryGraph
|
int |
findIndex(EdgeEnd
|
Coordinate |
getCoordinate()
|
int |
getDegree()
|
List |
getEdges()
|
EdgeEnd |
getNextCW(EdgeEnd
|
abstract void |
insert(EdgeEnd
Insert a EdgeEnd into this EdgeEndStar
|
protected void |
insertEdgeEnd(EdgeEnd
Insert an EdgeEnd into the map, and clear the edgeList cache, since the list of edges has now changed
|
boolean |
isAreaLabelsConsistent(GeometryGraph
|
Iterator |
iterator()
Iterator access to the ordered list of edges is optimized by copying the map collection to a list.
|
void |
print(PrintStream
|
String |
toString()
|
protected MapedgeMap
protected ListedgeList
public abstract void insert(EdgeEnde)
protected void insertEdgeEnd(EdgeEnde, Object obj)
public CoordinategetCoordinate()
public int getDegree()
public Iteratoriterator()
public ListgetEdges()
public void computeLabelling(GeometryGraph[] geomGraph)
public boolean isAreaLabelsConsistent(GeometryGraphgeomGraph)
public int findIndex(EdgeEndeSearch)
public void print(PrintStreamout)
public StringtoString()