|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
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 | |
Protected Member Functions inherited from celeritas::orangeinp::IntersectRegionInterface | |
| 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.
Names are 'azimuthal wedge' with plus/minus
Implements celeritas::orangeinp::IntersectRegionInterface.
Write output to the given JSON object.
Implements celeritas::orangeinp::IntersectRegionInterface.