addSelfIntersectionNodes method

void addSelfIntersectionNodes(
  1. int argIndex
)

Implementation

void addSelfIntersectionNodes(int argIndex) {
  for (Iterator i = edges.iterator; i.moveNext();) {
    Edge e = i.current;
    int eLoc = e.getLabel()!.getLocation(argIndex);
    for (Iterator eiIt = e.eiList.iterator(); eiIt.moveNext();) {
      EdgeIntersection ei = eiIt.current as EdgeIntersection;
      addSelfIntersectionNode(argIndex, ei.coord, eLoc);
    }
  }
}