ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
Kdtree::DistanceL2 Class Reference
Inheritance diagram for Kdtree::DistanceL2:
Inheritance graph
[legend]
Collaboration diagram for Kdtree::DistanceL2:
Collaboration graph
[legend]

Public Member Functions

 DistanceL2 (const DoubleVector *weights=NULL)
 
 ~DistanceL2 ()
 
double distance (const CoordPoint &p, const CoordPoint &q)
 
double coordinate_distance (double x, double y, size_t dim)
 
- Public Member Functions inherited from Kdtree::DistanceMeasure
 DistanceMeasure ()
 
virtual ~DistanceMeasure ()
 

Detailed Description

Definition at line 156 of file kdtree.cxx.

Constructor & Destructor Documentation

◆ DistanceL2()

Kdtree::DistanceL2::DistanceL2 ( const DoubleVector weights = NULL)
inline

Definition at line 160 of file kdtree.cxx.

◆ ~DistanceL2()

Kdtree::DistanceL2::~DistanceL2 ( )
inline

Definition at line 167 of file kdtree.cxx.

Member Function Documentation

◆ coordinate_distance()

double Kdtree::DistanceL2::coordinate_distance ( double  x,
double  y,
size_t  dim 
)
inlinevirtual

Implements Kdtree::DistanceMeasure.

Definition at line 185 of file kdtree.cxx.

◆ distance()

double Kdtree::DistanceL2::distance ( const CoordPoint p,
const CoordPoint q 
)
inlinevirtual

Implements Kdtree::DistanceMeasure.

Definition at line 172 of file kdtree.cxx.


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