Discontinuous Weighted Least-Squares Approximation on Irregular Grids