CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::Line Class Reference

A Line describes a movement in three dimensional space. More...

#include <Line.hpp>

Public Member Functions

 Line (Point const &pR0, VelocityVector const &pV0)
 
Point getPosition (TimeType const t) const
 
VelocityVector const & getVelocity (TimeType const) const
 
Point getPositionFromArclength (LengthType const l) const
 
LengthType getArcLength (TimeType const t1, TimeType const t2) const
 
TimeType getTimeFromArclength (LengthType const t) const
 
Point const & getStartPoint () const
 
DirectionVector getDirection () const
 
VelocityVector const & getVelocity () const
 

Detailed Description

A Line describes a movement in three dimensional space.

It consists of a Point $\vec{p_0}$ and and a speed-Vector $\vec{v}$, so that it can return GetPosition as $\vec{p_0}*\vec{v}*t$ for any value of time $t$.

Definition at line 27 of file Line.hpp.


The documentation for this class was generated from the following file: