
Geometry : 
Subject: [geometry] Adapters at the point and/or box abstraction level?
From: Patrick J. LoPresti (lopresti_at_[hidden])
Date: 20140527 17:13:56
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?
(I have read the documentation but not yet the source code, so please
forgive me if this is a stupid question.)
Thank you!
 Pat
Geometry list run by mateusz at loskot.net