#include <Point2D.h>
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 >()) | |
T | sqr_distance (const Point2D< T > &src, const Point2D< T > &dst) const |
Point2D< T > | diff (const Point2D< T > &src, const Point2D< T > &dst) const |
T | distance (Point2D< T > &src, Point2D< T > &dst) const |
Public Attributes | |
bool | _toroid |
T | _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 |
T | _min_dx |
T | _min_dy |
T | _max_dx |
T | _max_dy |
T | _min_sx |
T | _min_sy |
T | _max_sx |
T | _max_sy |
Definition at line 268 of file Point2D.h.
Point2DDistance< T >::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>() | |||
) | [inline] |
T Point2DDistance< T >::sqr_distance | ( | const Point2D< T > & | src, | |
const Point2D< T > & | dst | |||
) | const [inline] |
Definition at line 302 of file Point2D.h.
Referenced by LateralLongRangeOrientationConnectionPredicate::decide(), LateralEuclidianDistanceConnectionPredicate::decide(), and Point2DDistance< double >::distance().
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().
T Point2DDistance< T >::distance | ( | Point2D< T > & | src, | |
Point2D< T > & | dst | |||
) | const [inline] |
bool Point2DDistance< T >::_toroid |
Definition at line 364 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_toroid_off |
Definition at line 365 of file Point2D.h.
Referenced by Point2DDistance< double >::Point2DDistance().
double Point2DDistance< T >::_src_scale |
Definition at line 367 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
double Point2DDistance< T >::_dst_scale |
Definition at line 368 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
Point2D<T> Point2DDistance< T >::_src_center |
Definition at line 370 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), and Point2DDistance< double >::sqr_distance().
Point2D<T> Point2DDistance< T >::_dst_center |
Definition at line 371 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), and Point2DDistance< double >::sqr_distance().
int Point2DDistance< T >::_src_shape_x |
Definition at line 373 of file Point2D.h.
Referenced by Point2DDistance< double >::Point2DDistance().
int Point2DDistance< T >::_src_shape_y |
Definition at line 374 of file Point2D.h.
Referenced by Point2DDistance< double >::Point2DDistance().
int Point2DDistance< T >::_dst_shape_x |
Definition at line 375 of file Point2D.h.
Referenced by Point2DDistance< double >::Point2DDistance().
int Point2DDistance< T >::_dst_shape_y |
Definition at line 376 of file Point2D.h.
Referenced by Point2DDistance< double >::Point2DDistance().
T Point2DDistance< T >::_min_dx |
Definition at line 378 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_min_dy |
Definition at line 378 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_max_dx |
Definition at line 378 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_max_dy |
Definition at line 378 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_min_sx |
Definition at line 379 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_min_sy |
Definition at line 379 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_max_sx |
Definition at line 379 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().
T Point2DDistance< T >::_max_sy |
Definition at line 379 of file Point2D.h.
Referenced by Point2DDistance< double >::diff(), Point2DDistance< double >::Point2DDistance(), and Point2DDistance< double >::sqr_distance().