|
||||
File indexing completed on 2025-01-18 09:11:04
0001 // This file is part of the ACTS project. 0002 // 0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project 0004 // 0005 // This Source Code Form is subject to the terms of the Mozilla Public 0006 // License, v. 2.0. If a copy of the MPL was not distributed with this 0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/. 0008 0009 #pragma once 0010 0011 #include "Acts/Surfaces/SurfaceBounds.hpp" 0012 0013 #include <vector> 0014 0015 namespace Acts { 0016 0017 /// Forward declare rectangle bounds as boundary box 0018 class RectangleBounds; 0019 0020 /// @class PlanarBounds 0021 /// 0022 /// common base class for all bounds that are in a local x/y cartesian frame 0023 /// - simply introduced to avoid wrong bound assignments to surfaces 0024 /// 0025 class PlanarBounds : public SurfaceBounds { 0026 public: 0027 /// Return the vertices 0028 /// 0029 /// @param quarterSegments is the number of segments used to describe curved 0030 /// segments in a quarter of the phi range. If it is 1, then only the extrema 0031 /// points in phi are inserted next to the segment corners. 0032 /// 0033 /// @note for planar bounds without curved segments @c quarterSegments is ignored 0034 /// 0035 /// @return vector for vertices in 2D 0036 virtual std::vector<Vector2> vertices( 0037 unsigned int quarterSegments = 2u) const = 0; 0038 0039 /// Bounding box parameters 0040 /// 0041 /// @return rectangle bounds for a bounding box 0042 virtual const RectangleBounds& boundingBox() const = 0; 0043 }; 0044 0045 } // namespace Acts
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |