Class Acts::DistanceSorterT

template<class T>
class DistanceSorterT : public std::binary_function<T, T, bool>

This will check on absolute distance.

Public Functions

inline DistanceSorterT(BinningValue bValue, Vector3 reference)

Constructor from a binning value.

Parameters
  • bValue – is the value in which the binning is done

  • reference – is the reference point

inline bool operator()(T one, T two) const

Comparison operator.

Template Parameters
  • one – first object

  • two – second object

Returns

boolen indicator