Unified Geometric Traversal Theorem: A General Framework for Light Paths in Rectangles, Cuboids, and Hyperrectangles | Synapse