Celeritas
0.5.0-56+6b053cd
|
A series of stacked cones or cylinders or combination of both. More...
#include <PolySolid.hh>
Public Member Functions | |
PolyCone (std::string &&label, PolySegments &&segments, SolidEnclosedAngle &&enclosed) | |
Build with label, axial segments, optional restriction. | |
NodeId | build (VolumeBuilder &) const final |
Construct a volume from this shape. More... | |
void | output (JsonPimpl *) const final |
Write the shape to JSON. | |
Public Member Functions inherited from celeritas::orangeinp::PolySolidBase | |
virtual | ~PolySolidBase () |
Anchored default virtual destructor. | |
std::string_view | label () const final |
Get the user-provided label. | |
PolySegments const & | segments () const |
Axial segments. | |
SolidEnclosedAngle | enclosed_angle () const |
Optional azimuthal angular restriction. | |
Public Member Functions inherited from celeritas::orangeinp::ObjectInterface | |
virtual | ~ObjectInterface ()=0 |
Anchored default destructor. | |
Static Public Member Functions | |
static SPConstObject | or_solid (std::string &&label, PolySegments &&segments, SolidEnclosedAngle &&enclosed) |
Return a polycone or a simplified version for only a single segment. | |
Additional Inherited Members | |
Public Types inherited from celeritas::orangeinp::ObjectInterface | |
using | SPConstObject = std::shared_ptr< ObjectInterface const > |
using | VolumeBuilder = detail::VolumeBuilder |
Protected Member Functions inherited from celeritas::orangeinp::PolySolidBase | |
PolySolidBase (std::string &&label, PolySegments &&segments, SolidEnclosedAngle &&enclosed) | |
Build with label, axial segments, optional restriction. | |
CELER_DEFAULT_COPY_MOVE (PolySolidBase) | |
Protected Member Functions inherited from celeritas::orangeinp::ObjectInterface | |
ObjectInterface ()=default | |
CELER_DEFAULT_COPY_MOVE (ObjectInterface) | |
A series of stacked cones or cylinders or combination of both.
|
finalvirtual |
Construct a volume from this shape.
Implements celeritas::orangeinp::ObjectInterface.