CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
Universe.hpp
1 /*
2  * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
3  *
4  * This software is distributed under the terms of the GNU General Public
5  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
6  * the license.
7  */
8 
9 #pragma once
10 
11 #include <corsika/framework/geometry/Sphere.hpp>
12 #include <limits>
13 
14 namespace corsika {
15 
16  struct Universe : public corsika::Sphere {
18  bool contains(corsika::Point const&) const override;
19  };
20 
21 } // namespace corsika
22 
23 #include <corsika/detail/media/Universe.inl>
bool contains(corsika::Point const &) const override
returns true if the Point p is within the sphere
`, since they are used everywhere as integral part of the framework.
std::shared_ptr< CoordinateSystem const > CoordinateSystemPtr
To refer to CoordinateSystems, only the CoordinateSystemPtr must be used.
Describes a sphere in space.
Definition: Sphere.hpp:23