Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VertexComparator Class Reference

#include <G4TessellatedSolid.hh>

Public Member Functions

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

Detailed Description

Definition at line 118 of file G4TessellatedSolid.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 121 of file G4TessellatedSolid.hh.

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

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