Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JGEOMETRY3D::JSmallestDistance3D::JCompareZ Struct Reference

Auxiliary class for sorting elements. More...

#include <JGeometry3DToolkit.hh>

Public Member Functions

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

Detailed Description

Auxiliary class for sorting elements.

Definition at line 192 of file JGeometry3DToolkit.hh.

Member Function Documentation

template<class T >
bool JGEOMETRY3D::JSmallestDistance3D::JCompareZ::operator() ( const T &  first,
const T &  second 
) const
inline

Compare x-positions of given points.

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

Definition at line 201 of file JGeometry3DToolkit.hh.

202  {
203  return first.getZ() < second.getZ();
204  }

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