{
if (useSegInt) System.out.println("Using Segment Intersector");
if (useSideInt) System.out.println("Using Side Intersector");
System.out.println("# pts: " + pts.length);
RectangleLineIntersector rectSegIntersector = new RectangleLineIntersector(rectEnv);
SimpleRectangleIntersector rectSideIntersector = new SimpleRectangleIntersector(rectEnv);
Stopwatch sw = new Stopwatch();
for (int i = 0; i < pts.length; i++) {
for (int j = 0; j < pts.length; j++) {
if (i == j) continue;
boolean segResult = false;
if (useSegInt)
segResult = rectSegIntersector.intersects(pts[i], pts[j]);
boolean sideResult = false;
if (useSideInt)
sideResult = rectSideIntersector.intersects(pts[i], pts[j]);
if (useSegInt && useSideInt)