File indexing completed on 2024-04-06 12:31:44
0001 #ifndef RKDistance_H
0002 #define RKDistance_H
0003 #include "FWCore/Utilities/interface/Visibility.h"
0004
0005 #include "RKSmallVector.h"
0006
0007 template <typename T, int N>
0008 class dso_internal RKDistance {
0009 public:
0010 typedef T Scalar;
0011 typedef RKSmallVector<T, N> Vector;
0012
0013 virtual ~RKDistance() {}
0014
0015 virtual Scalar operator()(const Vector& a, const Vector& b, const Scalar& s) const = 0;
0016 };
0017
0018 #endif