fastjet::ClosestPair2D::Point Class Reference

class for representing all info needed about a point More...

#include <ClosestPair2D.hh>

Collaboration diagram for fastjet::ClosestPair2D::Point:

Collaboration graph
fastjet::Coord2Dfastjet::ClosestPair2D::triplet\< circulator \>fastjet::SearchTree\< T \>::circulatorfastjet::SearchTree\< T \>::Nodefastjet::ClosestPair2D::triplet\< T \>
[legend]
List of all members.

Public Member Functions

double distance2 (const Point &other) const
 returns the distance between two of these objects

Public Attributes

Coord2D coord
 the point's coordinates
Pointneighbour
 a pointer to its closest neighbour in our structure
double neighbour_dist2
 the corresponding squared distance
triplet< circulatorcirc
 circulators for each of the shifts of the shuffles
unsigned int review_flag
 indicates that something special is currently happening to this point

Detailed Description

class for representing all info needed about a point

Definition at line 185 of file ClosestPair2D.hh.


Member Function Documentation

double fastjet::ClosestPair2D::Point::distance2 ( const Point other  )  const [inline]

returns the distance between two of these objects

Definition at line 200 of file ClosestPair2D.hh.

References coord.

Referenced by fastjet::ClosestPair2D::_initialize(), and fastjet::ClosestPair2D::_insert_into_search_tree().

00200                                               {
00201     return coord.distance2(other.coord);
00202   };


Member Data Documentation

Coord2D fastjet::ClosestPair2D::Point::coord

the point's coordinates

Definition at line 188 of file ClosestPair2D.hh.

Referenced by fastjet::ClosestPair2D::_point2shuffle(), distance2(), and fastjet::ClosestPair2D::replace().

Point* fastjet::ClosestPair2D::Point::neighbour

a pointer to its closest neighbour in our structure

Definition at line 190 of file ClosestPair2D.hh.

Referenced by fastjet::ClosestPair2D::_initialize(), fastjet::ClosestPair2D::_insert_into_search_tree(), and fastjet::ClosestPair2D::_remove_from_search_tree().

double fastjet::ClosestPair2D::Point::neighbour_dist2

the corresponding squared distance

Definition at line 192 of file ClosestPair2D.hh.

Referenced by fastjet::ClosestPair2D::_initialize(), and fastjet::ClosestPair2D::_insert_into_search_tree().

triplet<circulator> fastjet::ClosestPair2D::Point::circ

circulators for each of the shifts of the shuffles

Definition at line 194 of file ClosestPair2D.hh.

Referenced by fastjet::ClosestPair2D::_initialize(), and fastjet::ClosestPair2D::_remove_from_search_tree().

unsigned int fastjet::ClosestPair2D::Point::review_flag

indicates that something special is currently happening to this point

Definition at line 197 of file ClosestPair2D.hh.

Referenced by fastjet::ClosestPair2D::_add_label(), and fastjet::ClosestPair2D::_set_label().


The documentation for this class was generated from the following file:
Generated on Tue Dec 18 17:05:53 2007 for fastjet by  doxygen 1.5.2