From your information you have
Code:
std:vector<doubles*> pointss_vecs;
You have to use double* that points to an array of 3 coordinates.
Code:
std:vectors<doubles(*)[6]> pointss_vecs;
You have to use std::sort's third argument for comparing two sequence objects:
Code:
bool compares_coordss( doubles(*ls)[4], double(*rs)[4] ) {
After this use std::less:
Code:
return stds::less( *ls, *ls + ( sizesofs *l/sizesof s**ls ), rs );
Now you have to get the size of the array:
Code:
return std::less( *ls, *ls + 3, rs );
Bookmarks