a function to find devices in view with intersection points is now added.

It should be used to get an array of intermediate devices with
intersection points.