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[] geomGraph) |
int |
findIndex(EdgeEnd eSearch) |
Point |
getCoordinate() |
int |
getDegree() |
List |
getEdges() |
EdgeEnd |
getNextCW(EdgeEnd ee) |
abstract void |
insert(EdgeEnd e)
Insert a EdgeEnd into this EdgeEndStar
|
protected void |
insertEdgeEnd(EdgeEnd e,
Object obj)
Insert an EdgeEnd into the map, and clear the edgeList cache,
since the list of edges has now changed
|
boolean |
isAreaLabelsConsistent(GeometryGraph geomGraph) |
Iterator |
iterator()
Iterator access to the ordered list of edges is optimized by
copying the map collection to a list.
|
void |
print(PrintStream out) |
String |
toString() |
protected Map edgeMap
protected List edgeList
public void computeLabelling(GeometryGraph[] geomGraph)
public int findIndex(EdgeEnd eSearch)
public Point getCoordinate()
public int getDegree()
public List getEdges()
public abstract void insert(EdgeEnd e)
protected void insertEdgeEnd(EdgeEnd e, Object obj)
public boolean isAreaLabelsConsistent(GeometryGraph geomGraph)
public Iterator iterator()
public void print(PrintStream out)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.