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

#include <HepPolyhedron.h>

Public Member Functions

 G4Facet (G4int v1=0, G4int f1=0, G4int v2=0, G4int f2=0, G4int v3=0, G4int f3=0, G4int v4=0, G4int f4=0)
 

Friends

class HepPolyhedron
 
std::ostream & operator<< (std::ostream &, const G4Facet &facet)
 

Detailed Description

Definition at line 216 of file HepPolyhedron.h.

Constructor & Destructor Documentation

◆ G4Facet()

G4Facet::G4Facet ( G4int  v1 = 0,
G4int  f1 = 0,
G4int  v2 = 0,
G4int  f2 = 0,
G4int  v3 = 0,
G4int  f3 = 0,
G4int  v4 = 0,
G4int  f4 = 0 
)
inline

Definition at line 225 of file HepPolyhedron.h.

227 { edge[0].v=v1; edge[0].f=f1; edge[1].v=v2; edge[1].f=f2;
228 edge[2].v=v3; edge[2].f=f3; edge[3].v=v4; edge[3].f=f4; }

Friends And Related Function Documentation

◆ HepPolyhedron

friend class HepPolyhedron
friend

Definition at line 217 of file HepPolyhedron.h.

◆ operator<<

std::ostream & operator<< ( std::ostream &  ostr,
const G4Facet facet 
)
friend

Definition at line 98 of file HepPolyhedron.cc.

98 {
99 for (const auto& edge : facet.edge) {
100 ostr << " " << edge.v << "/" << edge.f;
101 }
102 return ostr;
103}

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