@Test
public void testLength3D() throws Exception {

        LineString geom = (LineString) wKTReader.read("LINESTRING(0 1 0, 5 1 0, 10 1 0)");
        double length = CoordinatesUtils.length3D(geom.getCoordinateSequence());
        double expectedLength = geom.getLength();
        assertEquals(expectedLength, length, 10E-11);
}