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

A sphere centered on the origin. More...

#include <IntersectRegion.hh>

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

Public Member Functions

 Sphere (real_type radius)
 Construct with radius.
 
void build (IntersectSurfaceBuilder &) const final
 Build surfaces.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 
bool encloses (Sphere const &other) const
 Whether this encloses another sphere.
 
real_type radius () const
 Radius.
 

Additional Inherited Members

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

Detailed Description

A sphere centered on the origin.

Note
Be aware there's also a sphere surface at orange/surf/Sphere.hh in a different namespace.

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