Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Interface class for a host geometry that supports surfaces. More...
#include <GeoParamsInterface.hh>
Public Types | |
Type aliases | |
using | SurfaceMap = LabelIdMultiMap< SurfaceId > |
![]() | |
using | SpanConstVolumeId = Span< VolumeId const > |
using | VolumeMap = LabelIdMultiMap< VolumeId > |
using | VolInstanceMap = LabelIdMultiMap< VolumeInstanceId > |
Public Member Functions | |
~GeoParamsSurfaceInterface () override=0 | |
Default virtual destructor. | |
virtual SurfaceMap const & | surfaces () const =0 |
Get surface metadata. | |
![]() | |
virtual | ~GeoParamsInterface ()=0 |
Default virtual destructor. | |
virtual bool | supports_safety () const =0 |
Whether safety distance calculations are accurate and precise. | |
virtual BBox const & | bbox () const =0 |
Outer bounding box of geometry. | |
virtual LevelId::size_type | max_depth () const =0 |
Maximum nested volume instance depth. | |
virtual VolumeMap const & | volumes () const =0 |
Get volume metadata. | |
virtual VolInstanceMap const & | volume_instances () const =0 |
Get volume instance metadata. | |
virtual VolumeId | find_volume (G4LogicalVolume const *volume) const =0 |
Get the volume ID corresponding to a Geant4 logical volume. | |
virtual GeantPhysicalInstance | id_to_geant (VolumeInstanceId id) const =0 |
Get the Geant4 PV corresponding to a volume instance. | |
Protected Member Functions | |
CELER_DEFAULT_COPY_MOVE (GeoParamsSurfaceInterface) | |
![]() | |
CELER_DEFAULT_COPY_MOVE (GeoParamsInterface) | |
Interface class for a host geometry that supports surfaces.
|
pure virtual |
Get surface metadata.
Implemented in celeritas::OrangeParams.