I have an existing library of code dealing with 2D points, boxes,
etc., and I am looking for a good spatial index. I believe
boost::geometry::rtree might fit the bill.
However...
My library uses SSE registers to represent 2D points/vectors. This
makes the operations I care about very fast (e.g. vector arithmetic,
box union/intersection), but accessing the components of a point is a
bit painful.
Is there any way to teach boost::geometry -- and especially
boost::geometry::rtree -- to use my functions for these operations,
avoiding get<0> and get<1> as much as possible?