Coordinate p1 = new Coordinate(-123456789, -40);
Coordinate p2 = new Coordinate(381039468754763d, 123456789);
Coordinate q = new Coordinate(0, 0);
LineString l = new GeometryFactory().createLineString(new Coordinate[] {p1, p2});
Point p = new GeometryFactory().createPoint(q);
assertEquals(false, l.intersects(p));
assertEquals(false, CGAlgorithms.isOnLine(q, new Coordinate[] {p1, p2}));
assertEquals(-1, CGAlgorithms.computeOrientation(p1, p2, q));
}
}