Added default parameters (all empty Sets) here so we could combine it with named parameters to avoid having to overload apply for each combination of points, sets, lines.