Ellipsoid #641
-
|
When ellipsoid volume will be available? Or if there is, how do i do it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello @mikhailpaltsev For the moment Ellipsoid volume is not available in Gate10. But you can try to add it and propose a pull request. I think you can follow the example of G4Tubs to add the G4Ellipsoid class: https://github.com/OpenGATE/opengate/blob/master/core/opengate_core/g4_bindings/pyG4Tubs.cpp |
Beta Was this translation helpful? Give feedback.
-
|
It was integrated with that PR: #713 |
Beta Was this translation helpful? Give feedback.
Hello @mikhailpaltsev
For the moment Ellipsoid volume is not available in Gate10. But you can try to add it and propose a pull request.
To start you can follow the developper guide here: https://opengate-python.readthedocs.io/en/master/developer_guide/developer_guide_installation.html
I think you can follow the example of G4Tubs to add the G4Ellipsoid class: https://github.com/OpenGATE/opengate/blob/master/core/opengate_core/g4_bindings/pyG4Tubs.cpp