Red-blue intersection detection algorithms, with applications to motion planning and collision detection | lit.salon