Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::orangeinp::Box Class Referencefinal

A rectangular parallelepiped/cuboid centered on the origin. More...

#include <IntersectRegion.hh>

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

Public Member Functions

 Box (Real3 const &halfwidths)
 Construct with half-widths.
 
void build (IntersectSurfaceBuilder &) const final
 Build surfaces.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 
Real3 consthalfwidths () const
 Half-width for each axis.
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::orangeinp::IntersectRegionInterface
 CELER_DEFAULT_COPY_MOVE (IntersectRegionInterface)
 

Detailed Description

A rectangular parallelepiped/cuboid centered on the origin.

The box is constructed with half-widths.

Member Function Documentation

◆ build()

void celeritas::orangeinp::Box::build ( IntersectSurfaceBuilder insert_surface) const
finalvirtual

◆ output()

void celeritas::orangeinp::Box::output ( JsonPimpl j) const
finalvirtual

Write output to the given JSON object.

Implements celeritas::orangeinp::IntersectRegionInterface.


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