The boost::geometry::model::point takes as a compile-time argument the dimension of the point. For instance,
typedef bg::model::point<float, 2, bg::cs::cartesian> point;
Is there any way of specifying the dimension at run time, say, depending on input given to program?
My goal is to use the rtree data structure in boost::geometry::index with arbitrary dimensions. Is it possible to write a custom point class with this feature, or would the type system prevent me from doing this?