|
ACTS
Experiment-independent tracking
|
Container for up to two intersections in a given dimension. More...
#include <Acts/Utilities/Intersection.hpp>
Public Types | |
| using | Container |
| Container type for storing intersections. | |
| using | IndexedIntersection = std::pair<IntersectionType, IntersectionIndex> |
| Pair of intersection and its index. | |
| using | IntersectionType = Intersection<DIM> |
| Intersection type for this dimension. | |
| using | size_type = IntersectionIndex |
| Size type for indexing. | |
Public Member Functions | |
| constexpr | MultiIntersection (const IntersectionType &intersection) noexcept |
| Construct from single intersection. | |
| constexpr | MultiIntersection (const IntersectionType &intersection1, const IntersectionType &intersection2) noexcept |
| Construct from two intersections. | |
| constexpr | MultiIntersection (const MultiIntersection &) noexcept=default |
| Copy constructor. | |
| constexpr | MultiIntersection (MultiIntersection &&) noexcept=default |
| Move constructor. | |
| constexpr const IntersectionType & | at (IntersectionIndex index) const |
| Access intersection at index with bounds checking. | |
| constexpr auto | begin () const noexcept |
| Get begin iterator. | |
| constexpr IntersectionType | closest () const noexcept |
| Get closest intersection. | |
| constexpr IntersectionType | closestForward () const noexcept |
| Get closest forward intersection. | |
| constexpr IndexedIntersection | closestForwardWithIndex () const noexcept |
| Get closest forward intersection with its index. | |
| constexpr IndexedIntersection | closestWithIndex () const noexcept |
| Get closest intersection with its index. | |
| constexpr auto | end () const noexcept |
| Get end iterator. | |
| constexpr MultiIntersection & | operator= (const MultiIntersection &) noexcept=default |
| Copy assignment operator. | |
| constexpr MultiIntersection & | operator= (MultiIntersection &&) noexcept=default |
| Move assignment operator. | |
| constexpr const IntersectionType & | operator[] (IntersectionIndex index) const |
| Access intersection by index. | |
| constexpr IntersectionIndex | size () const noexcept |
| Get the number of intersections. | |
Container for up to two intersections in a given dimension.
| using Acts::MultiIntersection< DIM >::Container |
Container type for storing intersections.
|
explicitconstexprnoexcept |
Construct from single intersection.
| intersection | The intersection |
|
constexprnoexcept |
Construct from two intersections.
| intersection1 | The first intersection |
| intersection2 | The second intersection |
|
constexpr |
Access intersection at index with bounds checking.
| index | The index of the intersection |
|
constexprnoexcept |
Get begin iterator.
|
constexprnoexcept |
Get closest intersection.
|
constexprnoexcept |
Get closest forward intersection.
|
constexprnoexcept |
Get closest forward intersection with its index.
|
constexprnoexcept |
Get closest intersection with its index.
|
constexprnoexcept |
Get end iterator.
|
constexprdefaultnoexcept |
Copy assignment operator.
|
constexprdefaultnoexcept |
Move assignment operator.
|
constexpr |
Access intersection by index.
| index | The index of the intersection |
|
constexprnoexcept |
Get the number of intersections.