}
@Test
public void testBreakLine() {
List<CPoint> points = new ArrayList<CPoint>();
CPoint p1 = new Coordinate2D(10, 20);
CPoint p2 = new Coordinate2D(30, 60);
CPoint p3 = new Coordinate2D(20, 40);
CPoint p4 = new Coordinate2D(40, 80);
CPoint p5 = new Coordinate2D(4, 80);
points.add(p1);
points.add(p2);
points.add(p4);
LineString ls = new LineString(points);
List<CoordinateSeq> ls2 = LinearReference.splitLine(ls.getPoints(), p3);