Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
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.

123  {
124  return l.mag2 == r.mag2 ? l.id < r.id : l.mag2 < r.mag2;
125  }

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