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

friend class HepPolyhedron
friend

Definition at line 181 of file HepPolyhedron.h.

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:78

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