Struct Intersection¶
Defined in File Intersection.hpp
Struct Documentation¶
-
struct
Acts
::
Intersection
¶ Intersection struct used for position.
Public Types
Public Functions
-
Intersection
(const Vector3D &sinter, double slength, Status sstatus)¶ Constructor with arguments.
- Parameters
sinter
: is the position of the intersectionslength
: is the path length to the intersectionsvalid
: is a boolean indicating if intersection is valid
-
Intersection
() = default¶ Default constructor.
-
operator bool
() const¶ Bool() operator for validity checking.
-
bool
operator<
(const Intersection &si) const¶ Smaller operator for sorting,.
it respects the validity of the intersection
- Parameters
si
: is the intersection for testing
-
bool
operator>
(const Intersection &si) const¶ Greater operator for sorting,.
it respects the validity of the intersection
- Parameters
si
: is the intersection for testing
-