G4VertexComparator Class Reference

#include <G4TessellatedSolid.hh>


Public Member Functions

G4bool operator() (const G4VertexInfo &l, const G4VertexInfo &r) const


Detailed Description

Definition at line 119 of file G4TessellatedSolid.hh.


Member Function Documentation

G4bool G4VertexComparator::operator() ( const G4VertexInfo l,
const G4VertexInfo r 
) const [inline]

Definition at line 122 of file G4TessellatedSolid.hh.

References G4VertexInfo::id, and G4VertexInfo::mag2.

00123   {
00124     return l.mag2 == r.mag2 ? l.id < r.id : l.mag2 < r.mag2;
00125   }


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:53:42 2013 for Geant4 by  doxygen 1.4.7