![]() |
|
|||
File indexing completed on 2025-08-05 08:09:23
0001 // This file is part of the Acts project. 0002 // 0003 // Copyright (C) 2016-2020 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 http://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 lseg the number of segments used to approximate 0030 /// and eventually curved line 0031 /// 0032 /// @note that the extremas are given, which may slightly alter the 0033 /// number of segments returned 0034 /// 0035 /// @return vector for vertices in 2D 0036 virtual std::vector<Vector2> vertices(unsigned int lseg = 1) const = 0; 0037 0038 /// Bounding box parameters 0039 /// 0040 /// @return rectangle bounds for a bounding box 0041 virtual const RectangleBounds& boundingBox() const = 0; 0042 }; 0043 0044 } // 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 |
![]() ![]() |