public abstract class EdgeEndStar
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
edgeList
A list of all outgoing edges in the result, in CCW order
|
protected java.util.Map |
edgeMap
A map which maintains the edges in sorted order around the node
|
private int[] |
ptInAreaLocation
The location of the point for this star in Geometry i Areas
|
Constructor and Description |
---|
EdgeEndStar() |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkAreaLabelsConsistent(int geomIndex) |
private void |
computeEdgeEndLabels(BoundaryNodeRule boundaryNodeRule) |
void |
computeLabelling(GeometryGraph[] geomGraph) |
int |
findIndex(EdgeEnd eSearch) |
Coordinate |
getCoordinate() |
int |
getDegree() |
java.util.List |
getEdges() |
private int |
getLocation(int geomIndex,
Coordinate p,
GeometryGraph[] geom) |
EdgeEnd |
getNextCW(EdgeEnd ee) |
abstract void |
insert(EdgeEnd e)
Insert a EdgeEnd into this EdgeEndStar
|
protected void |
insertEdgeEnd(EdgeEnd e,
java.lang.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) |
java.util.Iterator |
iterator()
Iterator access to the ordered list of edges is optimized by
copying the map collection to a list.
|
void |
print(java.io.PrintStream out) |
(package private) void |
propagateSideLabels(int geomIndex) |
java.lang.String |
toString() |
protected java.util.Map edgeMap
protected java.util.List edgeList
private int[] ptInAreaLocation
public abstract void insert(EdgeEnd e)
protected void insertEdgeEnd(EdgeEnd e, java.lang.Object obj)
public Coordinate getCoordinate()
public int getDegree()
public java.util.Iterator iterator()
public java.util.List getEdges()
public void computeLabelling(GeometryGraph[] geomGraph)
private void computeEdgeEndLabels(BoundaryNodeRule boundaryNodeRule)
private int getLocation(int geomIndex, Coordinate p, GeometryGraph[] geom)
public boolean isAreaLabelsConsistent(GeometryGraph geomGraph)
private boolean checkAreaLabelsConsistent(int geomIndex)
void propagateSideLabels(int geomIndex)
public int findIndex(EdgeEnd eSearch)
public void print(java.io.PrintStream out)
public java.lang.String toString()
toString
in class java.lang.Object