computeVertexSnapsNSS method
Snaps segments to the vertices of a Segment String.
Implementation
void computeVertexSnapsNSS(NodedSegmentString e) {
List<Coordinate> pts0 = e.getCoordinates();
for (int i = 0; i < pts0.length; i++) {
HotPixel hotPixel = new HotPixel(pts0[i], scaleFactor, li);
bool isNodeAdded = pointSnapper.snap(hotPixel, e, i);
// if a node is created for a vertex, that vertex must be noded too
if (isNodeAdded) {
e.addIntersection(pts0[i], i);
}
}
}