yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
Point.h File Reference
#include "YODA/AnalysisObject.h"
#include "YODA/Exceptions.h"
#include "YODA/Transformation.h"
#include "YODA/Utils/MathUtils.h"
#include "YODA/Utils/PointUtils.h"
#include "YODA/Utils/Traits.h"
#include "YODA/Utils/sortedvector.h"
#include "YODA/Utils/ndarray.h"
#include <utility>
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Classes

class  YODA::Point
 Base class for all Point*Ds, providing generic access to their numerical properties. More...
 
class  YODA::PointBase< N >
 The base for an N-dimensional data point to be contained in a Scatter<N> More...
 
class  YODA::PointND< N >
 
class  YODA::PointND< 1 >
 A 1D data point to be contained in a Scatter1D. More...
 
class  YODA::PointND< 2 >
 A 2D data point to be contained in a Scatter2D. More...
 
class  YODA::PointND< 3 >
 A 3D data point to be contained in a Scatter3D. More...
 

Namespaces

namespace  YODA
 Anonymous namespace to limit visibility.
 

Macros

#define LT_IF_NOT_EQ(a, b)   { if (!fuzzyEquals(a, b)) return a < b; }
 

Typedefs

using YODA::Point1D = PointND< 1 >
 User-familiar alias.
 
using YODA::Point2D = PointND< 2 >
 
using YODA::Point3D = PointND< 3 >
 
using YODA::Point4D = PointND< 4 >
 

Functions

Comparison operators
template<size_t N>
bool YODA::operator== (const PointBase< N > &a, const PointBase< N > &b)
 Equality test.
 
template<size_t N>
bool YODA::operator!= (const PointBase< N > &a, const PointBase< N > &b)
 Inequality test.
 
template<size_t N>
bool YODA::operator< (const PointBase< N > &a, const PointBase< N > &b)
 Less-than operator used to sort points.
 
template<size_t N>
bool YODA::operator<= (const PointBase< N > &a, const PointBase< N > &b)
 Less-than-or-equals operator used to sort points.
 
template<size_t N>
bool YODA::operator> (const PointBase< N > &a, const PointBase< N > &b)
 Greater-than operator used to sort points.
 
template<size_t N>
bool YODA::operator>= (const PointBase< N > &a, const PointBase< N > &b)
 Greater-than-or-equals operator used to sort points.
 

Macro Definition Documentation

◆ LT_IF_NOT_EQ

#define LT_IF_NOT_EQ (   a,
 
)    { if (!fuzzyEquals(a, b)) return a < b; }