CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
BaseTrajectory.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/Line.hpp>
12 #include <corsika/framework/geometry/Point.hpp>
13 
14 namespace corsika {
15 
37 
38  public:
39  virtual Point getPosition(double const u) const = 0;
40 
41  virtual VelocityVector getVelocity(double const u) const = 0;
42 
43  virtual DirectionVector getDirection(double const u) const = 0;
44 
45  virtual TimeType getDuration(double const u = 1) const = 0;
46 
47  virtual LengthType getLength(double const u = 1) const = 0;
48 
49  virtual void setLength(LengthType const limit) = 0;
50 
51  virtual void setDuration(TimeType const limit) = 0;
52  };
53 
54 } // namespace corsika
`, since they are used everywhere as integral part of the framework.
A Trajectory is a description of a momvement of an object in three-dimensional space that describes t...