Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PlacedPolyhedron Class Reference

#include <G4PlacedPolyhedron.hh>

Public Member Functions

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

Detailed Description

Definition at line 42 of file G4PlacedPolyhedron.hh.

Constructor & Destructor Documentation

◆ G4PlacedPolyhedron() [1/2]

G4PlacedPolyhedron::G4PlacedPolyhedron ( )
default

◆ 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) {}

Member Function Documentation

◆ GetPolyhedron()

const G4Polyhedron & G4PlacedPolyhedron::GetPolyhedron ( ) const
inline

Definition at line 55 of file G4PlacedPolyhedron.hh.

55{return fPolyhedron;}

◆ GetTransform()

const G4Transform3D & G4PlacedPolyhedron::GetTransform ( ) const
inline

Definition at line 56 of file G4PlacedPolyhedron.hh.

56{return 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 }

◆ SetTransform()

void G4PlacedPolyhedron::SetTransform ( const G4Transform3D transform)
inline

Definition at line 61 of file G4PlacedPolyhedron.hh.

61 {
62 fTransform = transform;
63 }

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