Forked from
Air Shower Physics / corsika
4166 commits behind the upstream repository.
-
Maximilian Reininghaus authoredMaximilian Reininghaus authored
BaseVector.h 496 B
#ifndef _include_BASEVECTOR_H_
#define _include_BASEVECTOR_H_
#include <Geometry/QuantityVector.h>
#include <Geometry/CoordinateSystem.h>
/*!
* Common base class for Vector and Point. Currently it does basically nothing.
*/
template <typename dim>
class BaseVector
{
protected:
QuantityVector<dim> qVector;
CoordinateSystem const* cs;
public:
BaseVector(CoordinateSystem const& pCS, QuantityVector<dim> pQVector) :
qVector(pQVector), cs(&pCS)
{
}
};
#endif