Jpp  17.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JGEOMETRY2D::JSmallestDistance2D::JCompareY Struct Reference

Auxiliary class for sorting elements. More...

#include <JGeometry2DToolkit.hh>

Public Member Functions

template<class T >
bool operator() (const T &first, const T &second) const
 Compare y-positions of given points. More...
 

Detailed Description

Auxiliary class for sorting elements.

Definition at line 518 of file JGeometry2DToolkit.hh.

Member Function Documentation

template<class T >
bool JGEOMETRY2D::JSmallestDistance2D::JCompareY::operator() ( const T first,
const T second 
) const
inline

Compare y-positions of given points.

Parameters
firstfirst point
secondsecond point
Returns
true if y of first point less than that of second; else false

Definition at line 527 of file JGeometry2DToolkit.hh.

528  {
529  return first.getY() < second.getY();
530  }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first

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