[geometry] Remove unused parameters in get_turn_info and direction
[geometry] removed parameters in private functions which were unused
(They are unused because we now pass the "sides" struct with this information).
This also makes the corresponding parameters for the main entry redundant,
so we can remove them too, later