Geant4  10.00.p01
G4PolyhedronArbitrary Class Reference

#include <G4PolyhedronArbitrary.hh>

+ Inheritance diagram for G4PolyhedronArbitrary:
+ Collaboration diagram for G4PolyhedronArbitrary:

Public Member Functions

 G4PolyhedronArbitrary (const G4int nVertices, const G4int nFacets)
 
virtual ~G4PolyhedronArbitrary ()
 
void AddVertex (const G4ThreeVector &v)
 
void AddFacet (const G4int iv1, const G4int iv2, const G4int iv3, const G4int iv4=0)
 
void SetReferences ()
 
void InvertFacets ()
 
- Public Member Functions inherited from G4Polyhedron
 G4Polyhedron ()
 
 G4Polyhedron (const HepPolyhedron &from)
 
virtual ~G4Polyhedron ()
 
G4int GetNumberOfRotationStepsAtTimeOfCreation () const
 
- Public Member Functions inherited from G4Visible
 G4Visible ()
 
 G4Visible (const G4Visible &)
 
 G4Visible (const G4VisAttributes *)
 
virtual ~G4Visible ()
 
G4Visibleoperator= (const G4Visible &)
 
G4bool operator!= (const G4Visible &right) const
 
const G4VisAttributesGetVisAttributes () const
 
void SetVisAttributes (const G4VisAttributes *)
 
void SetVisAttributes (const G4VisAttributes &)
 

Protected Attributes

G4int nVertexCount
 
G4int nFacetCount
 
- Protected Attributes inherited from G4Visible
const G4VisAttributesfpVisAttributes
 
G4bool fAllocatedVisAttributes
 

Private Member Functions

 G4PolyhedronArbitrary (const G4PolyhedronArbitrary &)
 
G4PolyhedronArbitraryoperator= (const G4PolyhedronArbitrary &)
 

Detailed Description

Definition at line 75 of file G4PolyhedronArbitrary.hh.

Constructor & Destructor Documentation

G4PolyhedronArbitrary::G4PolyhedronArbitrary ( const G4int  nVertices,
const G4int  nFacets 
)

Definition at line 62 of file G4PolyhedronArbitrary.cc.

References nFacetCount, and nVertexCount.

G4PolyhedronArbitrary::~G4PolyhedronArbitrary ( )
virtual

Definition at line 71 of file G4PolyhedronArbitrary.cc.

G4PolyhedronArbitrary::G4PolyhedronArbitrary ( const G4PolyhedronArbitrary )
private

Member Function Documentation

void G4PolyhedronArbitrary::AddFacet ( const G4int  iv1,
const G4int  iv2,
const G4int  iv3,
const G4int  iv4 = 0 
)

Definition at line 93 of file G4PolyhedronArbitrary.cc.

References G4cerr, G4endl, nFacetCount, and nVertexCount.

Referenced by G4GenericTrap::CreatePolyhedron(), and G4TessellatedSolid::CreatePolyhedron().

+ Here is the caller graph for this function:

void G4PolyhedronArbitrary::AddVertex ( const G4ThreeVector v)

Definition at line 75 of file G4PolyhedronArbitrary.cc.

References G4cerr, G4endl, and nVertexCount.

Referenced by G4GenericTrap::CreatePolyhedron(), and G4TessellatedSolid::CreatePolyhedron().

+ Here is the caller graph for this function:

void G4PolyhedronArbitrary::InvertFacets ( )
inline

Definition at line 89 of file G4PolyhedronArbitrary.hh.

Referenced by G4GenericTrap::CreatePolyhedron().

+ Here is the caller graph for this function:

G4PolyhedronArbitrary& G4PolyhedronArbitrary::operator= ( const G4PolyhedronArbitrary )
private
void G4PolyhedronArbitrary::SetReferences ( )
inline

Definition at line 86 of file G4PolyhedronArbitrary.hh.

Referenced by G4GenericTrap::CreatePolyhedron(), and G4TessellatedSolid::CreatePolyhedron().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4PolyhedronArbitrary::nFacetCount
protected

Definition at line 93 of file G4PolyhedronArbitrary.hh.

Referenced by AddFacet(), and G4PolyhedronArbitrary().

G4int G4PolyhedronArbitrary::nVertexCount
protected

Definition at line 92 of file G4PolyhedronArbitrary.hh.

Referenced by AddFacet(), AddVertex(), and G4PolyhedronArbitrary().


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