Point2DDistance< T > Class Template Reference

#include <Point2D.h>

Inheritance diagram for Point2DDistance< T >:

Inheritance graph
[legend]
Collaboration diagram for Point2DDistance< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Point2DDistance (bool toroid=true, T toroid_off=0, int src_shape_x=1, int src_shape_y=1, int dst_shape_x=1, int dst_shape_y=1, double src_scale=1.0, double dst_scale=1.0, Point2D< T > src_center=Point2D< T >(), Point2D< T > dst_center=Point2D< T >())
sqr_distance (const Point2D< T > &src, const Point2D< T > &dst) const
Point2D< T > diff (const Point2D< T > &src, const Point2D< T > &dst) const
distance (Point2D< T > &src, Point2D< T > &dst) const

Public Attributes

bool _toroid
_toroid_off
double _src_scale
double _dst_scale
Point2D< T > _src_center
Point2D< T > _dst_center
int _src_shape_x
int _src_shape_y
int _dst_shape_x
int _dst_shape_y
_min_dx
_min_dy
_max_dx
_max_dy
_min_sx
_min_sy
_max_sx
_max_sy


Detailed Description

template<class T>
class Point2DDistance< T >

Definition at line 268 of file Point2D.h.


Constructor & Destructor Documentation

template<class T>
Point2DDistance< T >::Point2DDistance ( bool  toroid = true,
toroid_off = 0,
int  src_shape_x = 1,
int  src_shape_y = 1,
int  dst_shape_x = 1,
int  dst_shape_y = 1,
double  src_scale = 1.0,
double  dst_scale = 1.0,
Point2D< T >  src_center = Point2D<T>(),
Point2D< T >  dst_center = Point2D<T>() 
) [inline]

Definition at line 271 of file Point2D.h.


Member Function Documentation

template<class T>
T Point2DDistance< T >::sqr_distance ( const Point2D< T > &  src,
const Point2D< T > &  dst 
) const [inline]

template<class T>
Point2D<T> Point2DDistance< T >::diff ( const Point2D< T > &  src,
const Point2D< T > &  dst 
) const [inline]

Definition at line 330 of file Point2D.h.

Referenced by RetinotopicOrientationConnectionPredicate::init().

template<class T>
T Point2DDistance< T >::distance ( Point2D< T > &  src,
Point2D< T > &  dst 
) const [inline]

Definition at line 357 of file Point2D.h.


Member Data Documentation

template<class T>
bool Point2DDistance< T >::_toroid

template<class T>
T Point2DDistance< T >::_toroid_off

Definition at line 365 of file Point2D.h.

Referenced by Point2DDistance< double >::Point2DDistance().

template<class T>
double Point2DDistance< T >::_src_scale

template<class T>
double Point2DDistance< T >::_dst_scale

template<class T>
Point2D<T> Point2DDistance< T >::_src_center

template<class T>
Point2D<T> Point2DDistance< T >::_dst_center

template<class T>
int Point2DDistance< T >::_src_shape_x

Definition at line 373 of file Point2D.h.

Referenced by Point2DDistance< double >::Point2DDistance().

template<class T>
int Point2DDistance< T >::_src_shape_y

Definition at line 374 of file Point2D.h.

Referenced by Point2DDistance< double >::Point2DDistance().

template<class T>
int Point2DDistance< T >::_dst_shape_x

Definition at line 375 of file Point2D.h.

Referenced by Point2DDistance< double >::Point2DDistance().

template<class T>
int Point2DDistance< T >::_dst_shape_y

Definition at line 376 of file Point2D.h.

Referenced by Point2DDistance< double >::Point2DDistance().

template<class T>
T Point2DDistance< T >::_min_dx

template<class T>
T Point2DDistance< T >::_min_dy

template<class T>
T Point2DDistance< T >::_max_dx

template<class T>
T Point2DDistance< T >::_max_dy

template<class T>
T Point2DDistance< T >::_min_sx

template<class T>
T Point2DDistance< T >::_min_sy

template<class T>
T Point2DDistance< T >::_max_sx

template<class T>
T Point2DDistance< T >::_max_sy


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

Generated on Wed Jul 9 16:34:52 2008 for PCSIM by  doxygen 1.5.5