// ***** forParam(double distance)
double[] dp = line1.forParam(0).getCoordinate();
assertEquals( -50.0, dp[0] );
assertEquals( 0.0, dp[1]);
dp = line1.forParam(line1.length()).getCoordinate();
assertEquals(50.0, dp[0]);
assertEquals(0.0, dp[1]);
dp = line1.forParam(seg1.getEndParam()).getCoordinate();
assertEquals(-30.0, dp[0]);