Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4EllipticalCone.cc File Reference
#include <boost/python.hpp>
#include "G4EllipticalCone.hh"
Include dependency graph for pyG4EllipticalCone.cc:

Go to the source code of this file.

Namespaces

 pyG4EllipticalCone
 

Functions

G4EllipticalConepyG4EllipticalCone::CreateEllipticalCone (const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double zMax, G4double pzTopCut)
 
void export_G4EllipticalCone ()
 

Function Documentation

void export_G4EllipticalCone ( )

Definition at line 58 of file pyG4EllipticalCone.cc.

59 {
60  class_<G4EllipticalCone, G4EllipticalCone*, bases<G4VSolid> >
61  ("G4EllipticalCone", "elliptical cone solid class", no_init)
62  // constructors
63  .def(init<const G4String&, G4double, G4double, G4double, G4double>())
64  // ---
65  .def("GetSimiAxisMax", &G4EllipticalCone::GetSemiAxisMax)
66  .def("GetZTopCut", &G4EllipticalCone::GetZTopCut)
67  .def("SetSemiAxis", &G4EllipticalCone::SetSemiAxis)
68  .def("SetZCut", &G4EllipticalCone::SetZCut)
69  // operators
70  .def(self_ns::str(self))
71  ;
72 
73  // Create solid
74  def("CreateEllipticalCone", CreateEllipticalCone,
75  return_value_policy<manage_new_object>());
76 
77 }
G4EllipticalCone * CreateEllipticalCone(const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double zMax, G4double pzTopCut)
G4double GetSemiAxisMax() const
void SetSemiAxis(G4double x, G4double y, G4double z)
void SetZCut(G4double newzTopCut)
G4double GetZTopCut() const

Here is the call graph for this function:

Here is the caller graph for this function: