1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#ifndef VECGEOM_VOLUMES_SPECIALIZEDBOOLEAN_H
#define VECGEOM_VOLUMES_SPECIALIZEDBOOLEAN_H
#include "VecGeom/base/Global.h"
#include "VecGeom/volumes/kernel/BooleanImplementation.h"
#include "VecGeom/volumes/UnplacedBooleanVolume.h"
#include "VecGeom/volumes/PlacedBooleanVolume.h"
#include "VecGeom/volumes/SpecializedPlacedVolImplHelper.h"
namespace vecgeom {
inline namespace VECGEOM_IMPL_NAMESPACE {
template <BooleanOperation boolOp, TranslationCode transCodeT, RotationCode rotCodeT>
using SpecializedBooleanVolume = LoopSpecializedVolImplHelper<BooleanImplementation<boolOp>, transCodeT, rotCodeT>;
using GenericPlacedUnionVolume = SpecializedBooleanVolume<kUnion, translation::kGeneric, rotation::kGeneric>;
using GenericPlacedIntersectionVolume =
SpecializedBooleanVolume<kIntersection, translation::kGeneric, rotation::kGeneric>;
using GenericPlacedSubtractionVolume =
SpecializedBooleanVolume<kSubtraction, translation::kGeneric, rotation::kGeneric>;
using GenericUnionVolume = SpecializedBooleanVolume<kUnion, translation::kIdentity, rotation::kIdentity>;
using GenericIntersectionVolume = SpecializedBooleanVolume<kIntersection, translation::kIdentity, rotation::kIdentity>;
using GenericSubtractionVolume = SpecializedBooleanVolume<kSubtraction, translation::kIdentity, rotation::kIdentity>;
} // End impl namespace
} // End global namespace
#endif // VECGEOM_VOLUMES_SPECIALIZEDBOOLEAN_H
|