An Optimal Algorithm for Minimum-Link 1 Rectilinear Paths in Rectilinear Domains