Geant4 10.7.0
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 189 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 198 of file HepPolyhedron.h.

200 { edge[0].v=v1; edge[0].f=f1; edge[1].v=v2; edge[1].f=f2;
201 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 190 of file HepPolyhedron.h.

◆ operator<<

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

Definition at line 85 of file HepPolyhedron.cc.

85 {
86 for (G4int k=0; k<4; k++) {
87 ostr << " " << facet.edge[k].v << "/" << facet.edge[k].f;
88 }
89 return ostr;
90}
int G4int
Definition: G4Types.hh:85

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