Celeritas 0.6.0-67+develop.47f47c88
|
An open wedge shape from the z axis. More...
#include <IntersectRegion.hh>
Public Member Functions | |
InfAziWedge (Turn start, Turn stop) | |
Construct from a starting angle and stop 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 | stop () const |
stop 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 stop = 0.5 + start, we rely on CSG object deduplication.
Implements celeritas::orangeinp::IntersectRegionInterface.
Write output to the given JSON object.
Implements celeritas::orangeinp::IntersectRegionInterface.