    @Test
    public void testNearestPoint() throws Exception {

        // todo verify
        SimpleVector result = Util3D.nearestPoint(
                new SimpleVector[]{
                        new SimpleVector(0, 0, 0),
                        new SimpleVector(5, 0, 0)},
                new SimpleVector(1,1,0)
        );
        System.out.println(result.x + ", " + result.y + ", " + result.z);
    }