I'm wondering what the most efficient way of doing this is.
I have points that I gather from 2 places.
I am only interested in the points which are common to both places.
My plan is to have 3 std::set<Point>
. First I will add in the points from area A,into set A then points from B into set B and let set C be the intersection of both sets.
However, I'm wondering if there is a better way of doing this that involves maybe less sets?
Thanks