checkEndPtVertexIntersections2 method
Implementation
void checkEndPtVertexIntersections2(Coordinate testPt, List segStrings) {
for (SegmentString ss in segStrings) {
List<Coordinate> pts = ss.getCoordinates();
for (int j = 1; j < pts.length - 1; j++) {
if (pts[j].equals(testPt))
throw new RuntimeException(
"found endpt/interior pt intersection at index $j :pt " +
testPt.toString());
}
}
}