labelIsolatedEdges method

void labelIsolatedEdges(
  1. int thisIndex,
  2. int targetIndex
)

Processes isolated edges by computing their labelling and adding them to the isolated edges list. Isolated edges are guaranteed not to touch the boundary of the target (since if they did, they would have caused an intersection to be computed and hence would not be isolated)

Implementation

void labelIsolatedEdges(int thisIndex, int targetIndex) {
  for (Iterator ei = arg[thisIndex].getEdgeIterator(); ei.moveNext();) {
    Edge e = ei.current as Edge;
    if (e.isIsolated()) {
      labelIsolatedEdge(e, targetIndex, arg[targetIndex].getGeometry()!);
      isolatedEdges.add(e);
    }
  }
}