Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/detail/IntersectionHelper2D.hpp>
Static Public Member Functions | |
static Intersection2D | intersectSegment (const Vector2 &s0, const Vector2 &s1, const Vector2 &origin, const Vector2 &dir, bool boundCheck=false) |
static std::array < Intersection2D, 2 > | intersectEllipse (ActsScalar Rx, ActsScalar Ry, const Vector2 &origin, const Vector2 &dir) |
static std::array < Intersection2D, 2 > | intersectCircle (ActsScalar R, const Vector2 &origin, const Vector2 &dir) |
static Intersection2D | intersectCircleSegment (ActsScalar R, ActsScalar phiMin, ActsScalar phiMax, const Vector2 &origin, const Vector2 &dir) |
Definition at line 19 of file IntersectionHelper2D.hpp.
View newest version in sPHENIX GitHub at line 19 of file IntersectionHelper2D.hpp
|
inlinestatic |
Intersect the circle
R | The radius |
origin | The Start of intersection line |
dir | The Direction of intersection line |
Definition at line 53 of file IntersectionHelper2D.hpp.
View newest version in sPHENIX GitHub at line 53 of file IntersectionHelper2D.hpp
References intersectEllipse().
Referenced by Acts::Test::basicChecks(), and Acts::Test::BOOST_AUTO_TEST_CASE().
|
static |
Intersect a circle segment
R | The radius |
phiMin | The minimum phi value |
phiMax | The maximum phi value |
origin | The Start of intersection line |
dir | The Direction of intersection line |
Definition at line 120 of file IntersectionHelper2D.cpp.
View newest version in sPHENIX GitHub at line 120 of file IntersectionHelper2D.cpp
References Acts::Intersection< DIM >::invalid(), ActsTests::PropagationDatasets::phi, and Acts::VectorHelpers::phi().
Referenced by ActsFatras::Channelizer::segments().
|
static |
Intersect ellipses
Rx | The radius in x |
Ry | The radius in y |
origin | The Start of intersection line |
dir | The Direction of intersection line |
Definition at line 44 of file IntersectionHelper2D.cpp.
View newest version in sPHENIX GitHub at line 44 of file IntersectionHelper2D.cpp
References alpha, autodiff::detail::copysign(), Acts::detail::RealQuadraticEquation::first, Acts::Intersection< DIM >::invalid(), k, Acts::s_epsilon, Acts::detail::RealQuadraticEquation::second, Acts::detail::RealQuadraticEquation::solutions, ambiguity_solver_full_chain::x, and x0.
Referenced by Acts::Test::basicChecks(), Acts::Test::BOOST_AUTO_TEST_CASE(), and intersectCircle().
|
static |
Intersect two segments
s0 | The Start of the segment |
s1 | The end of the segment |
origin | The Start of intersection line |
dir | The Direction of intersection line |
Definition at line 17 of file IntersectionHelper2D.cpp.
View newest version in sPHENIX GitHub at line 17 of file IntersectionHelper2D.cpp
References Acts::Intersection< DIM >::invalid(), line, norm, Acts::s_epsilon, and utils::status.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and ActsFatras::Channelizer::segments().