Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::orangeinp::PolySegments Class Reference

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.
 

Detailed Description

Radial extents and axial segments for a stacked solid.

Axial grid points must be nondecreasing. If "inner" points are specified, they must be less than the outer points and more than zero. The inner list is allowed to be empty indicating no inner (hollow) exclusion.


The documentation for this class was generated from the following files: