File indexing completed on 2025-07-12 07:51:35
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "Acts/Surfaces/BoundaryTolerance.hpp"
0012
0013 namespace Acts {
0014
0015 class Surface;
0016
0017
0018
0019
0020
0021
0022
0023
0024 struct NavigationTarget {
0025 const Surface* surface = nullptr;
0026 std::uint8_t surfaceIntersectionIndex = 0;
0027 BoundaryTolerance boundaryTolerance = BoundaryTolerance::None();
0028
0029 static NavigationTarget None() { return NavigationTarget(); }
0030
0031 NavigationTarget(const Surface& surface_,
0032 std::uint8_t surfaceIntersectionIndex_,
0033 BoundaryTolerance boundaryTolerance_)
0034 : surface(&surface_),
0035 surfaceIntersectionIndex(surfaceIntersectionIndex_),
0036 boundaryTolerance(boundaryTolerance_) {}
0037
0038 bool isNone() const { return surface == nullptr; }
0039
0040 private:
0041 NavigationTarget() = default;
0042 };
0043
0044 }