this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
For each element of the boost::vector the operator() is called to copy the buffer containing the component of the point to the center point of the adaptive component
S | type of the data to copy (if is a float point is float, int point is int ... ) |
Definition at line 22 of file AdaptiveCylinderCone.hpp.
#include <AdaptiveCylinderCone.hpp>
Public Member Functions | |
copy_acc (const S *ptr) | |
constructor it fix the size | |
template<typename T > | |
void | operator() (T &t) const |
It call the copy function for each member. | |
Data Fields | |
const S * | ptr |
Pointer storing the data point. | |