Celeritas 0.6.0-67+develop.47f47c88
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::orangeinp::InfPlane Class Reference

An axis-aligned infinite half-space to use for truncation operations. More...

#include <IntersectRegion.hh>

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

Public Member Functions

 InfPlane (Sense sense, Axis axis, real_type position)
 Construct with sense, axis, and position.
 
void build (IntersectSurfaceBuilder &) const final
 Build the surface.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 
Sense sense () const
 Get the sense (inside or outside)
 
Axis axis () const
 Get the axis (x, y, or z)
 
real_type position () const
 Get the position along the axis.
 

Additional Inherited Members

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

Detailed Description

An axis-aligned infinite half-space to use for truncation operations.

An "inside" sense means to include everything below the position on the axis, and an "outside" sense means to include only what's above the position.

Member Function Documentation

◆ build()

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

Build the surface.

Implements celeritas::orangeinp::IntersectRegionInterface.

◆ output()

void celeritas::orangeinp::InfPlane::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: