public void test7() throws Exception {
WKTReader reader = new WKTReader(new GeometryFactory(new PrecisionModel(1), 0));
Geometry geometry = reader.read("MULTIPOINT (0 0, 0 0, 5 0, 5 0, 10 0, 10 0)");
LineString convexHull = (LineString) reader.read("LINESTRING (0 0, 10 0)");
assertTrue(convexHull.equalsExact(geometry.convexHull()));
}
}