Jpp  pmt_effective_area_update
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::JConvexHull2D::JUpperHull 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
 Sort criterion for upper hull. More...
 

Detailed Description

Auxiliary class for sorting elements.

Definition at line 193 of file JGeometry2DToolkit.hh.

Member Function Documentation

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

Sort criterion for upper hull.

Parameters
firstfirst point
secondsecond point
Returns
true if first before second; else false

Definition at line 202 of file JGeometry2DToolkit.hh.

203  {
204  if (first.getX() == second.getX())
205  return second.getY() < first.getY();
206  else
207  return first.getX() < second.getX();
208  }
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: