Geant4 9.6.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 180 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 189 of file HepPolyhedron.h.

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

◆ operator<<

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

Definition at line 83 of file HepPolyhedron.cc.

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

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