// ***** forParam(double distance) : DirectPosition
dp = curve1.forParam(0).getCoordinate();
assertTrue(dp[0] == -50);
assertTrue(dp[1] == 0.0);
dp = curve1.forParam(curve1.length()).getCoordinate();
assertTrue(dp[0] == 50);
assertTrue(dp[1] == 0.0);
dp = curve1.forParam(50).getCoordinate();
////System.out.println("forParam: " + dp[0] + "," + dp[1]);