Celeritas
0.5.0-56+6b053cd
|
A series of stacked regular prisms or cone-y prisms. More...
#include <PolySolid.hh>
Public Member Functions | |
PolyPrism (std::string &&label, PolySegments &&segments, SolidEnclosedAngle &&enclosed, int num_sides, real_type orientation) | |
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. | |
int | num_sides () const |
Number of sides. | |
real_type | orientation () const |
Rotation factor. | |
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, int num_sides, real_type orientation) |
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 regular prisms or cone-y prisms.
|
finalvirtual |
Construct a volume from this shape.
Implements celeritas::orangeinp::ObjectInterface.