Consider grouping Layer method parameters in structs (was ACTS-465)
Original author Hadrien Benjamin Grasland @hgraslan
The Layer methods take many parameters, some of which always go together (bcheck, collectSensitive, collectMaterial, and collectPassive; startSurface and endSurface).
Since methods with lots of parameters (or the structs with lots of members that are used to feed them) are not very ergonomic in C++, it might make sense to group these parameters together more.
Edited by Moritz Kiehn