Estimating the relative position of mobile agents on Jordan curves from ambiguous proximity data