Celeritas 0.6.0-dev.115+3b60a5fd
|
An open wedge shape from the z axis. More...
#include <IntersectRegion.hh>
Public Member Functions | |
InfWedge (Turn start, Turn interior) | |
Construct from a starting angle and interior angle. | |
void | build (IntersectSurfaceBuilder &) const final |
Build surfaces. | |
void | output (JsonPimpl *) const final |
Write output to the given JSON object. | |
Turn | start () const |
Starting angle. | |
Turn | interior () const |
Interior angle. | |
Additional Inherited Members | |
![]() | |
CELER_DEFAULT_COPY_MOVE (IntersectRegionInterface) | |
An open wedge shape from the z axis.
The wedge is defined by an interior angle that must be less than or equal to 180 degrees (half a turn) and must be more than zero. It can be subtracted, or its negation can be subtracted. The start angle is mapped onto \([0, 1)\) on construction.
|
finalvirtual |
Build surfaces.
Both planes should point "outward" to the wedge. In the degenerate case of interior = 0.5 we rely on CSG object deduplication.
Implements celeritas::orangeinp::IntersectRegionInterface.
Write output to the given JSON object.
Implements celeritas::orangeinp::IntersectRegionInterface.