hbf / miniball

Fast computation of the smallest enclosing ball of a point set, in low or moderately high dimensions.
133 stars 41 forks source link

Wip generic accessors to user-defined points and point coordinates #5

Closed hbf closed 11 years ago

hbf commented 11 years ago

Currently, the code requires copying the input points to an internal vector. With this WIP, the code accesses the input points through accessors, allowing user-defined points to be used without copying them.

It may, of course, in some cases be faster to copy the points to a vector, but this is now a decision the user can take.

hbf commented 11 years ago

Code needs some review and potentially simplification: