Celeritas 0.6.0-dev.115+3b60a5fd
|
A z-aligned cylinder centered on the origin. More...
#include <IntersectRegion.hh>
Public Member Functions | |
Cylinder (real_type radius, real_type halfheight) | |
Construct with radius. | |
void | build (IntersectSurfaceBuilder &) const final |
Build surfaces. | |
void | output (JsonPimpl *) const final |
Write output to the given JSON object. | |
bool | encloses (Cylinder const &other) const |
Whether this encloses another cylinder. | |
real_type | radius () const |
Radius. | |
real_type | halfheight () const |
Half-height along Z. | |
Additional Inherited Members | |
![]() | |
CELER_DEFAULT_COPY_MOVE (IntersectRegionInterface) | |
A z-aligned cylinder centered on the origin.
The cylinder is defined with a radius and half-height.
|
finalvirtual |
Build surfaces.
Implements celeritas::orangeinp::IntersectRegionInterface.
Write output to the given JSON object.
Implements celeritas::orangeinp::IntersectRegionInterface.