Go to the documentation of this file. 1 #ifndef GfxTL__MAXNORM_HEADER__
2 #define GfxTL__MAXNORM_HEADER__
9 template<
class VectorKernelT >
11 :
public VectorKernelT
13 template<
class ScalarAT,
class ScalarBT >
17 ScalarBT >::DifferenceType
Type;
20 template<
class Po
intAT,
class Po
intBT >
34 for (
size_t i = 1; i < m_dim; ++i)
45 template<
class Po
intAT,
class Po
intBT >
59 for (
size_t i = 1; i < m_dim; ++i)
70 template<
class ScalarT >
76 template<
class DistScalarT,
class DiffScalarT >
78 DiffScalarT cutDiff)
const
83 template<
class Po
intAT,
class Po
intBT >
90 const PointBT&
max)
const
97 for (
unsigned int i = 0; i < m_dim; ++i)
107 else if (
a[i] >
max[i])
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type Distance(const PointAT &p, const PointBT &v) const
MatrixXX< C, R, T > max(const MatrixXX< C, R, T > &a, const MatrixXX< C, R, T > &b)
PointT::value_type ScalarType
MatrixXX< C, R, T > min(const MatrixXX< C, R, T > &a, const MatrixXX< C, R, T > &b)
static ScalarT Abs(ScalarT s)
DistScalarT IncrementalBoxSqrDistance(DistScalarT boxDist, DiffScalarT boxDiff, DiffScalarT cutDiff) const
double a(double t, double a0, double j)
ScalarT RootOfDistance(ScalarT sqrDistance) const
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance(const PointAT &a, const PointBT &min, const PointBT &max) const
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance(const PointAT &p, const PointBT &v) const
ScalarTypeConversion< ScalarAT, ScalarBT >::DifferenceType Type
double v(double t, double v0, double a0, double j)