[v2.4-stable] Backport Liang-Barsky Method
Backport of several MRs (!680 (merged), !883 (merged)) adding and reworking our LiangBarsky implementation.
It is however not used in the main geometry classes as it is in master
, but only provided for modules to use.