Savarese Software Research Corporation
spatial::euclidean_distance< Point, Distance, 1 > Struct Template Reference

#include <distance.h>

List of all members.

Public Types

typedef Distance distance_type

Static Public Member Functions

static distance_type d2 (const Point &from, const Point &to)

Detailed Description

template<typename Point, typename Distance>
struct spatial::euclidean_distance< Point, Distance, 1 >

Definition at line 71 of file distance.h.


Member Typedef Documentation

template<typename Point , typename Distance >
typedef Distance spatial::euclidean_distance< Point, Distance, 1 >::distance_type

Definition at line 72 of file distance.h.


Member Function Documentation

template<typename Point , typename Distance >
static distance_type spatial::euclidean_distance< Point, Distance, 1 >::d2 ( const Point &  from,
const Point &  to 
) [inline, static]

Definition at line 74 of file distance.h.


The documentation for this struct was generated from the following file:

Savarese Software Research Corporation
Copyright © 2003-2005 Daniel F. Savarese.
Copyright © 2006-2009 Savarese Software Research Corporation.