computeLabelling method
Compute the labelling for all dirEdges in this star, as well as the overall labelling
Implementation
void computeLabelling(List<GeometryGraph> geom) {
//Debug.print(this);
super.computeLabelling(geom);
// determine the overall labelling for this DirectedEdgeStar
// (i.e. for the node it is based at)
label = new Label(Location.NONE);
for (Iterator it = iterator(); it.moveNext();) {
EdgeEnd ee = it.current as EdgeEnd;
Edge e = ee.getEdge();
Label eLabel = e.getLabel()!;
for (int i = 0; i < 2; i++) {
int eLoc = eLabel.getLocation(i);
if (eLoc == Location.INTERIOR || eLoc == Location.BOUNDARY)
label!.setLocationWithIndex(i, Location.INTERIOR);
}
}
//Debug.print(this);
}