Celeritas
0.5.0-86+4a8eea4
|
A shape that is hollow, is truncated azimuthally, or both. More...
#include <Solid.hh>
Public Types | |
Type aliases | |
using | OptionalRegion = std::optional< T > |
Public Types inherited from celeritas::orangeinp::ObjectInterface | |
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. | |
Public Member Functions inherited from celeritas::orangeinp::SolidBase | |
NodeId | build (VolumeBuilder &) const final |
Construct a volume from this shape. | |
void | output (JsonPimpl *) const final |
Output to JSON. | |
Public Member Functions inherited from celeritas::orangeinp::ObjectInterface | |
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 | |
Protected Member Functions inherited from celeritas::orangeinp::SolidBase | |
SolidBase ()=default | |
CELER_DEFAULT_COPY_MOVE (SolidBase) | |
Protected Member Functions inherited from celeritas::orangeinp::ObjectInterface | |
ObjectInterface ()=default | |
CELER_DEFAULT_COPY_MOVE (ObjectInterface) | |
A shape that is hollow, is truncated azimuthally, or both.
Examples: