This refactor pulls the call to get the `deformation` data from inside the selection function to the outside. Instead, the deformed positions are now passed directly to the selection functions. This means that the selection functions become more independent of the object type, which was the original intent. Otherwise, using these functions with e.g. Grease Pencil will crash. Pull Request: https://projects.blender.org/blender/blender/pulls/108650