Celeritas 0.6.0-dev.115+3b60a5fd
|
Shape that holds an intersect region and forwards construction args to it. More...
#include <Shape.hh>
Public Member Functions | |
template<class... Ts> | |
Shape (std::string &&label, Ts... region_args) | |
Construct with a label and arguments of the intersect region. | |
Shape (std::string &&label, T &®ion) | |
Construct with a label and intersect region. | |
std::string_view | label () const final |
Get the user-provided label. | |
IntersectRegionInterface const & | interior () const final |
Interior intersect region. | |
![]() | |
NodeId | build (VolumeBuilder &) const final |
Construct a volume from this shape. | |
void | output (JsonPimpl *) const final |
Output to JSON. | |
![]() | |
virtual | ~ObjectInterface ()=0 |
Anchored default destructor. | |
Additional Inherited Members | |
![]() | |
using | SPConstObject = std::shared_ptr< ObjectInterface const > |
using | VolumeBuilder = detail::VolumeBuilder |
![]() | |
CELER_DEFAULT_COPY_MOVE (ShapeBase) | |
![]() | |
CELER_DEFAULT_COPY_MOVE (ObjectInterface) | |
Shape that holds an intersect region and forwards construction args to it.
Construct as:
or
See IntersectRegion.hh for a list of the regions and their construction arguments.
|
inlinefinalvirtual |
Interior intersect region.
Implements celeritas::orangeinp::ShapeBase.
|
inlinefinalvirtual |
Get the user-provided label.
Implements celeritas::orangeinp::ObjectInterface.