Size/Volume of TGeoShape

Uhm,

I feel a bit embarrassed to ask, but I’m new to the TGeo package and I have been searching the documentation without success for a function that returns the size/volume of a 3D shape. :blush:

I want to create boolean solids from subtraction of other shapes and then know their volume without a lot of calculation. Is that possible? I found a method GetFacetArea() that returns the surface area, but is there a similar method for the volume filled by the shape?

Cheers

TGeoShape::Capacity();corresponds to Geant4:

G4VSolid::GetCubicVolume()Not easy to find.