@Test
public void intersection1() {

    Tuple2d intersect = VecmathUtil.intersection(new Point2d(1, 1), new Vector2d(0, 1), new Point2d(1, 0),
            new Vector2d(1, 0));
    assertThat(intersect.x, closeTo(1.0, 0.01));
    assertThat(intersect.y, closeTo(0.0, 0.01));
}