Path-constrained rendezvous - Necessary and sufficient conditions