Geant4-11
Functions
pyG4VSolid.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4VSolid.hh"

Go to the source code of this file.

Functions

void export_G4VSolid ()
 

Function Documentation

◆ export_G4VSolid()

void export_G4VSolid ( )

Definition at line 40 of file pyG4VSolid.cc.

41{
42 class_<G4VSolid, G4VSolid*, boost::noncopyable>
43 ("G4VSolid", "solid class", no_init)
44 // ---
45 .def("GetName", &G4VSolid::GetName)
46 .def("SetName", &G4VSolid::SetName)
47 .def("DumpInfo", &G4VSolid::DumpInfo)
48
49 .def("GetCubicVolume", &G4VSolid::GetCubicVolume)
50#if G4VERSION_NUMBER >=820
51 .def("GetSurfaceArea", &G4VSolid::GetSurfaceArea)
52#endif
53#if G4VERSION_NUMBER >=800
54 .def("GetPointOnSurface", &G4VSolid::GetPointOnSurface)
55#endif
56 // operators
57 .def(self == self)
58 ;
59}
G4String GetName() const
void SetName(const G4String &name)
Definition: G4VSolid.cc:127
void DumpInfo() const
virtual G4ThreeVector GetPointOnSurface() const
Definition: G4VSolid.cc:152
virtual G4double GetCubicVolume()
Definition: G4VSolid.cc:188
virtual G4double GetSurfaceArea()
Definition: G4VSolid.cc:250

References G4VSolid::DumpInfo(), G4VSolid::GetCubicVolume(), G4VSolid::GetName(), G4VSolid::GetPointOnSurface(), G4VSolid::GetSurfaceArea(), and G4VSolid::SetName().

Referenced by BOOST_PYTHON_MODULE().