last update 20 Sep 2009 |
#include "cvrObject.h"
#include "cvrTypeInfo.h"
Go to the source code of this file.
Classes | |
class | cvr::distanceType< T > |
This class defines the appropriate return types when calculating the distance between two values of type T. More... | |
Namespaces | |
namespace | cvr |
The three types are:
distance_type
is used when a simple distance is calculated between two instances of T which does not involve accumulation of squares or typical floating point operations.square_distance_type
is used for the result of distances that involve the square of the type T.fp_distance_type
is used for distances that involve floating point operations such as the sqrt or log functions.