This makes the code reusable in a few more places, particularly by tests for a new boolean implementation also defined in the geometry module. It also makes the way some primitives are reused among different nodes a bit clearer. Pull Request: https://projects.blender.org/blender/blender/pulls/112255