Bi-Lagrangian structures and the space of rays | Synapse