Geant4-11
Public Member Functions | Private Attributes
G4PlacedPolyhedron Class Reference

#include <G4PlacedPolyhedron.hh>

Public Member Functions

 G4PlacedPolyhedron ()
 
 G4PlacedPolyhedron (const G4Polyhedron &, const G4Transform3D &)
 
const G4PolyhedronGetPolyhedron () const
 
const G4Transform3DGetTransform () const
 
G4bool operator== (const G4PlacedPolyhedron &right) const
 
void SetPolyhedron (const G4Polyhedron &polyhedron)
 
void SetTransform (const G4Transform3D &transform)
 

Private Attributes

G4Polyhedron fPolyhedron
 
G4Transform3D fTransform
 

Detailed Description

Definition at line 42 of file G4PlacedPolyhedron.hh.

Constructor & Destructor Documentation

◆ G4PlacedPolyhedron() [1/2]

G4PlacedPolyhedron::G4PlacedPolyhedron ( )

Definition at line 30 of file G4PlacedPolyhedron.cc.

30{}

◆ G4PlacedPolyhedron() [2/2]

G4PlacedPolyhedron::G4PlacedPolyhedron ( const G4Polyhedron polyhedron,
const G4Transform3D transform 
)

Definition at line 32 of file G4PlacedPolyhedron.cc.

33 :
34 fPolyhedron (polyhedron), fTransform (transform) {}
G4Transform3D fTransform
G4bool transform(G4String &input, const G4String &type)

Member Function Documentation

◆ GetPolyhedron()

const G4Polyhedron & G4PlacedPolyhedron::GetPolyhedron ( ) const
inline

Definition at line 55 of file G4PlacedPolyhedron.hh.

55{return fPolyhedron;}

References fPolyhedron.

◆ GetTransform()

const G4Transform3D & G4PlacedPolyhedron::GetTransform ( ) const
inline

Definition at line 56 of file G4PlacedPolyhedron.hh.

56{return fTransform;}

References fTransform.

◆ operator==()

G4bool G4PlacedPolyhedron::operator== ( const G4PlacedPolyhedron right) const
inline

Definition at line 51 of file G4PlacedPolyhedron.hh.

51 {
52 return this == &right;
53 }

◆ SetPolyhedron()

void G4PlacedPolyhedron::SetPolyhedron ( const G4Polyhedron polyhedron)
inline

Definition at line 58 of file G4PlacedPolyhedron.hh.

58 {
59 fPolyhedron = polyhedron;
60 }

References fPolyhedron.

◆ SetTransform()

void G4PlacedPolyhedron::SetTransform ( const G4Transform3D transform)
inline

Field Documentation

◆ fPolyhedron

G4Polyhedron G4PlacedPolyhedron::fPolyhedron
private

Definition at line 67 of file G4PlacedPolyhedron.hh.

Referenced by GetPolyhedron(), and SetPolyhedron().

◆ fTransform

G4Transform3D G4PlacedPolyhedron::fTransform
private

Definition at line 68 of file G4PlacedPolyhedron.hh.

Referenced by GetTransform(), and SetTransform().


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