Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
A z-aligned cylinder with an elliptical cross section. More...
#include <IntersectRegion.hh>
Public Member Functions | |
EllipticalCylinder (Real2 const &radii, real_type halfheight) | |
Construct with x- and y-radii and half-height in z. | |
void | build (IntersectSurfaceBuilder &) const final |
Build surfaces. | |
void | output (JsonPimpl *) const final |
Write output to the given JSON object. | |
bool | encloses (EllipticalCylinder const &other) const |
Whether this encloses another elliptical cylinder. | |
Real2 const & | radii () const |
Radius along each axis. | |
real_type | halfheight () const |
Half-height along Z. | |
Additional Inherited Members | |
![]() | |
CELER_DEFAULT_COPY_MOVE (IntersectRegionInterface) | |
A z-aligned cylinder with an elliptical cross section.
The elliptical cylinder is defined with a two radii and a half-height, such that the centroid of the bounding box is origin.
|
finalvirtual |
Build surfaces.
Implements celeritas::orangeinp::IntersectRegionInterface.
Write output to the given JSON object.
Implements celeritas::orangeinp::IntersectRegionInterface.