All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
icarus::CathodeCrossing_t Struct Reference

Information about the cathode crossing of a path. More...

#include <CathodeCrossingUtils.h>

Public Member Functions

 operator bool () const
 Returns whether the crossing information is valid. More...
 
bool operator! () const
 Returns whether the crossing information is invalid. More...
 

Public Attributes

std::size_t indexBefore = NoIndex
 Index of the point "before" cathode. More...
 
std::size_t indexAfter = NoIndex
 Index of the point "after" cathode. More...
 
double before = 0.0
 Length of the path "before" the cathode. More...
 
double after = 0.0
 Length of the path "after" the cathode. More...
 
geo::Point_t crossingPoint
 Trajectory crossing point. More...
 

Static Public Attributes

static std::size_t const NoIndex = std::numeric_limits<std::size_t>::max()
 

Detailed Description

Information about the cathode crossing of a path.

Definition at line 46 of file CathodeCrossingUtils.h.

Member Function Documentation

icarus::CathodeCrossing_t::operator bool ( ) const
inline

Returns whether the crossing information is valid.

Definition at line 55 of file CathodeCrossingUtils.h.

55 { return indexBefore != indexAfter; }
std::size_t indexBefore
Index of the point &quot;before&quot; cathode.
std::size_t indexAfter
Index of the point &quot;after&quot; cathode.
bool icarus::CathodeCrossing_t::operator! ( ) const
inline

Returns whether the crossing information is invalid.

Definition at line 58 of file CathodeCrossingUtils.h.

58 { return indexBefore == indexAfter; }
std::size_t indexBefore
Index of the point &quot;before&quot; cathode.
std::size_t indexAfter
Index of the point &quot;after&quot; cathode.

Member Data Documentation

double icarus::CathodeCrossing_t::after = 0.0

Length of the path "after" the cathode.

Definition at line 51 of file CathodeCrossingUtils.h.

double icarus::CathodeCrossing_t::before = 0.0

Length of the path "before" the cathode.

Definition at line 50 of file CathodeCrossingUtils.h.

geo::Point_t icarus::CathodeCrossing_t::crossingPoint

Trajectory crossing point.

Definition at line 52 of file CathodeCrossingUtils.h.

std::size_t icarus::CathodeCrossing_t::indexAfter = NoIndex

Index of the point "after" cathode.

Definition at line 49 of file CathodeCrossingUtils.h.

std::size_t icarus::CathodeCrossing_t::indexBefore = NoIndex

Index of the point "before" cathode.

Definition at line 48 of file CathodeCrossingUtils.h.

std::size_t const icarus::CathodeCrossing_t::NoIndex = std::numeric_limits<std::size_t>::max()
static

Definition at line 47 of file CathodeCrossingUtils.h.


The documentation for this struct was generated from the following file: