Celeritas 0.7.0-dev.143+develop.6d3d3bfd3
|
Radial extents and axial segments for a stacked solid. More...
#include <PolySolid.hh>
Public Types | |
Type aliases | |
using | VecReal = std::vector< real_type > |
Public Member Functions | |
PolySegments (VecReal &&outer, VecReal &&z) | |
Construct from a filled polygon solid. | |
PolySegments (VecReal &&inner, VecReal &&outer, VecReal &&z) | |
Construct from a shell of a polygon solid. | |
size_type | size () const |
Number of segments (one less than grid points) | |
VecReal const & | inner () const |
Access the inner radii (for building 'exclusion' shape). | |
VecReal const & | outer () const |
Access the outer radii (for building 'interior' shape) | |
VecReal const & | z () const |
Access the z planes. | |
Real2 | inner (size_type) const |
Access lo/hi inner/exclusion radii for a segment. | |
Real2 | outer (size_type) const |
Access lo/hi outer radii for a segment. | |
Real2 | z (size_type) const |
Access lo/hi z values for a segment. | |
bool | has_exclusion () const |
Whether there is an internal subtraction from the poly. | |
Radial extents and axial segments for a stacked solid.
Axial grid points must be monotonic. (If increasing, the inputs will be reversed. Coincident points are allowed.) If "inner" points are specified, each must be less than the corresponding outer point and greater than zero. The inner list is allowed to be empty to indicate no inner (hollow) exclusion.