if(intersectionNum == LineIntersector.POINT_INTERSECTION || (tolerant && intersectionNum != LineIntersector.COLLINEAR)) {
// this one might be due to a numerical issue, where the two lines to do intersect
// exactly, but almost. Let's compute the distance and see
LineSegment segment = new LineSegment(o1, o2);
double d1 = segment.distance(c1);
double d2 = segment.distance(c2);
if(d1 <= PointDistance.EPS_METERS && d2 <= PointDistance.EPS_METERS) {
intersectionNum = LineIntersector.COLLINEAR;
}
}
if(intersectionNum == LineIntersector.COLLINEAR) {