CVR-Lib last update 20 Sep 2009

cvrEuclideanDistance.h File Reference

This file contains the functions T euclideanDistance(const T&, const T&) and T euclideanDistanceSqr(const T&, const T&) which calculate the Euclidean distance and its square, respectively. More...

#include <vector>
#include "cvrPoint.h"
#include "cvrPoint3D.h"
#include "cvrRGBPixel.h"
#include "cvrRGBAPixel.h"
#include "cvrVector.h"
#include "cvrMatrix.h"
#include "cvrDistanceType.h"

Include dependency graph for cvrEuclideanDistance.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cvr

Functions

Euclidean Distances Functions
global functions to compute the L2 distance between two n-dimensional point representations

template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const T &a, const T &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const vector< T > &a, const vector< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const matrix< T > &a, const matrix< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const std::vector< T > &a, const std::vector< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const point< T > &a, const point< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const point3D< T > &a, const point3D< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistance (const rgbPixel< T > &a, const rgbPixel< T > &b)
distanceType< rgbaPixel >
::square_distance_type 
cvr::euclideanDistance (const rgbaPixel &a, const rgbaPixel &b)
square of Euclidean Distances Functions
global functions to compute the square of the L2 distance between two n-dimensional point representations

template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const T &a, const T &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const vector< T > &a, const vector< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const matrix< T > &a, const matrix< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const std::vector< T > &a, const std::vector< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const point< T > &a, const point< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const point3D< T > &a, const point3D< T > &b)
template<class T >
distanceType< T >
::square_distance_type 
cvr::euclideanDistanceSqr (const rgbPixel< T > &a, const rgbPixel< T > &b)
distanceType< rgbaPixel >
::square_distance_type 
cvr::euclideanDistanceSqr (const rgbaPixel &a, const rgbaPixel &b)


Detailed Description

This file contains the functions T euclideanDistance(const T&, const T&) and T euclideanDistanceSqr(const T&, const T&) which calculate the Euclidean distance and its square, respectively.

Author:
Jochen Wickel
Date:
28.06.2000
Id
cvrEuclideanDistance.h,v 1.2 2006/06/06 09:42:39 doerfler Exp

Generated on Sun Sep 20 22:08:06 2009 for CVR-Lib by Doxygen 1.5.8