ThreeB 1.1
|
Class for sorting a list of indexes to an array of spots lexicographically according to the 2D positions of the spots. More...
Public Member Functions | |
IndexLexicographicPosition (const vector< Vector< 4 > > &s) | |
bool | operator() (int a, int b) |
Public Attributes | |
const vector< Vector< 4 > > & | spots |
Static Public Attributes | |
static const int | Second = First==2?3:2 |
Class for sorting a list of indexes to an array of spots lexicographically according to the 2D positions of the spots.
Cmp | comparator function to specify less or greater |
First | most significant position index |
Definition at line 453 of file multispot5.cc.
IndexLexicographicPosition< Cmp, First >::IndexLexicographicPosition | ( | const vector< Vector< 4 > > & | s | ) | [inline] |
bool IndexLexicographicPosition< Cmp, First >::operator() | ( | int | a, |
int | b | ||
) | [inline] |
const vector<Vector<4> >& IndexLexicographicPosition< Cmp, First >::spots |
Keep around the array of spots for later comprison.
Definition at line 454 of file multispot5.cc.
const int IndexLexicographicPosition< Cmp, First >::Second = First==2?3:2 [static] |
Second most siginifcant position index for sorting.
Definition at line 462 of file multispot5.cc.