#include <NNClusters.h>
Public Member Functions | |
XIndex (float xmin, float xmax) | |
int | operator() (T *hit) |
Protected Member Functions | |
XIndex () | |
Protected Attributes | |
float | _xmin |
float | _xmax |
Simple predicate class for computing an index from N bins of the x-coordinate of Objects that have a float/double* Position() method.
Definition at line 311 of file NNClusters.h.
|
inline |
C'tor takes xmin and xmax - NB index can be negative and larger than N
Definition at line 314 of file NNClusters.h.
|
inlineprotected |
Definition at line 323 of file NNClusters.h.
|
inline |
Definition at line 316 of file NNClusters.h.
|
protected |
Definition at line 325 of file NNClusters.h.
|
protected |
Definition at line 323 of file NNClusters.h.