Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::orangeinp::EllipticalCylinder Class Referencefinal

A z-aligned cylinder with an elliptical cross section. More...

#include <IntersectRegion.hh>

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

Public Member Functions

 EllipticalCylinder (Real2 const &radii, real_type halfheight)
 Construct with x- and y-radii and half-height in z.
 
void build (IntersectSurfaceBuilder &) const final
 Build surfaces.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 
bool encloses (EllipticalCylinder const &other) const
 Whether this encloses another elliptical cylinder.
 
Real2 constradii () const
 Radius along each axis.
 
real_type halfheight () const
 Half-height along Z.
 

Additional Inherited Members

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

Detailed Description

A z-aligned cylinder with an elliptical cross section.

The elliptical cylinder is defined with a two radii and a half-height, such that the centroid of the bounding box is origin.

Member Function Documentation

◆ build()

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

◆ output()

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