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

A Z-aligned cylinder centered on the origin. More...

#include <IntersectRegion.hh>

Inheritance diagram for celeritas::orangeinp::Cylinder:
Inheritance graph
[legend]

Public Member Functions

 Cylinder (real_type radius, real_type halfheight)
 Construct with radius.
 
void build (IntersectSurfaceBuilder &) const final
 Build surfaces.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 
bool encloses (Cylinder const &other) const
 Whether this encloses another cylinder.
 
real_type radius () const
 Radius.
 
real_type halfheight () const
 Half-height along Z.
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::orangeinp::IntersectRegionInterface
 IntersectRegionInterface ()=default
 
virtual ~IntersectRegionInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (IntersectRegionInterface)
 

Detailed Description

A Z-aligned cylinder centered on the origin.


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