System.out.println("AOI # pts: " + g.getNumPoints()
+ " # lines: " + lines.size()
+ " # pts in line: " + NUM_LINE_PTS
);
Stopwatch sw = new Stopwatch();
int count = 0;
for (int i = 0; i < MAX_ITER; i++)
{
// count = testPrepGeomNotCached(g, lines);
count = testPrepGeomCached(g, lines);
// count = testOriginal(g, lines);
}
System.out.println("Count of intersections = " + count);
System.out.println("Finished in " + sw.getTimeString());
}