Celeritas 0.6.0-dev.115+3b60a5fd
|
A shape that is hollow, is truncated azimuthally, or both. More...
#include <Solid.hh>
Public Types | |
Type aliases | |
using | OptionalRegion = std::optional< T > |
![]() | |
using | SPConstObject = std::shared_ptr< ObjectInterface const > |
using | VolumeBuilder = detail::VolumeBuilder |
Public Member Functions | |
Solid (std::string &&label, T &&interior, OptionalRegion &&excluded, SolidEnclosedAngle &&enclosed) | |
Construct with optional components. | |
Solid (std::string &&label, T &&interior, SolidEnclosedAngle &&enclosed) | |
Construct with an enclosed angle. | |
Solid (std::string &&label, T &&interior, T &&excluded) | |
Construct with an excluded interior. | |
std::string_view | label () const final |
Get the user-provided label. | |
IntersectRegionInterface const & | interior () const final |
Interior intersect region interface for construction and access. | |
IntersectRegionInterface const * | excluded () const final |
Access the optional excluded. | |
SolidEnclosedAngle | enclosed_angle () const final |
Optional angular restriction. | |
![]() | |
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. | |
Static Public Member Functions | |
static SPConstObject | or_shape (std::string &&label, T &&interior, OptionalRegion &&excluded, SolidEnclosedAngle &&enclosed) |
Return a solid or shape given an optional interior or enclosed angle. | |
Additional Inherited Members | |
![]() | |
CELER_DEFAULT_COPY_MOVE (SolidBase) | |
![]() | |
CELER_DEFAULT_COPY_MOVE (ObjectInterface) | |
A shape that is hollow, is truncated azimuthally, or both.
Examples:
|
inlinefinalvirtual |
Optional angular restriction.
Implements celeritas::orangeinp::SolidBase.
|
finalvirtual |
Access the optional excluded.
Implements celeritas::orangeinp::SolidBase.
|
inlinefinalvirtual |
Interior intersect region interface for construction and access.
Implements celeritas::orangeinp::SolidBase.
|
inlinefinalvirtual |
Get the user-provided label.
Implements celeritas::orangeinp::ObjectInterface.