// testing only
// if (true) return resultNodeList;
for (Iterator nodeit = op.getGraph().getNodes().iterator(); nodeit
.hasNext();) {
Node n = (Node) nodeit.next();
// filter out nodes which are known to be in the result
if (n.isInResult())
continue;
// if an incident edge is in the result, then the node coordinate is
// included already
if (n.isIncidentEdgeInResult())
continue;
if (n.getEdges().getDegree() == 0
|| opCode == OverlayOp.INTERSECTION) {
/**
* For nodes on edges, only INTERSECTION can result in edge
* nodes being included even if none of their incident edges are
* included
*/
Label label = n.getLabel();
if (OverlayOp.isResultOfOp(label, opCode)) {
filterCoveredNodeToPoint(n);
}
}
}