24 const double x = lposition[0];
25 const double y = lposition[1];
31 if (bcheck.
type() == BoundaryCheck::Type::eAbsolute) {
35 if (std::abs(y) - hlY > tolY) {
40 if (std::abs(x) - std::max(hlXnY, hlXpY) > tolX) {
45 if (std::abs(x) -
std::min(hlXnY, hlXpY) <= tolX) {
53 std::array<Vector2, 4>
v{
54 Vector2{-hlXnY, -hlY}, {hlXnY, -hlY}, {hlXpY, hlY}, {-hlXpY, hlY}};
59 unsigned int )
const {
63 return {{-minhx, -hy}, {minhx, -hy}, {maxhx, hy}, {-maxhx, hy}};
71 sl << std::setiosflags(std::ios::fixed);
72 sl << std::setprecision(7);
73 sl <<
"Acts::TrapezoidBounds: (halfXnegY, halfXposY, halfY) = "
74 <<
"(" <<
get(eHalfLengthXnegY) <<
", " <<
get(eHalfLengthXposY) <<
", "
75 <<
get(eHalfLengthY) <<
")";
76 sl << std::setprecision(-1);