Celeritas  0.5.0-56+6b053cd
List of all members
celeritas::PlaneAligned< T > Class Template Reference

Axis-aligned plane with positive-facing normal. More...

#include <PlaneAligned.hh>

Type aliases

using Intersections = Array< real_type, 1 >
 Intersection with the axis.
 
using StorageSpan = Span< real_type const, 1 >
 Intersection with the axis.
 
static CELER_CONSTEXPR_FUNCTION SurfaceType surface_type ()
 Surface type identifier.
 
static CELER_CONSTEXPR_FUNCTION bool simple_safety ()
 Safety is intersection along surface normal.
 
CELER_FUNCTION PlaneAligned (real_type position)
 Construct from axis intercept.
 
template<class R >
CELER_FUNCTION PlaneAligned (Span< R, StorageSpan::extent >)
 Construct from raw data.
 
CELER_FUNCTION real_type position () const
 Get the square of the radius.
 
CELER_FUNCTION StorageSpan data () const
 Get a view to the data for type-deleted storage.
 
CELER_FUNCTION Real3 calc_normal () const
 Calculate outward normal.
 
CELER_FUNCTION SignedSense calc_sense (Real3 const &pos) const
 Determine the sense of the position relative to this surface.
 
CELER_FUNCTION Intersections calc_intersections (Real3 const &pos, Real3 const &dir, SurfaceState on_surface) const
 Calculate all possible straight-line intersections with this surface.
 
CELER_FUNCTION Real3 calc_normal (Real3 const &pos) const
 Calculate outward normal at a position on the surface.
 

Detailed Description

template<Axis T>
class celeritas::PlaneAligned< T >

Axis-aligned plane with positive-facing normal.


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