labelIsolatedNode method

void labelIsolatedNode(
  1. Node n,
  2. int targetIndex
)

Label an isolated node with its relationship to the target geometry.

Implementation

void labelIsolatedNode(Node n, int targetIndex) {
  int loc =
      ptLocator.locate(n.getCoordinate(), arg[targetIndex].getGeometry()!);
  n.getLabel()!.setAllLocations(targetIndex, loc);
//debugPrintln(n.getLabel());
}