added geometrical tests in projectLine method
specified the extrapolation method for discontinuous1D