diff options
Diffstat (limited to 'src/main/Curved.h')
-rw-r--r-- | src/main/Curved.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/Curved.h b/src/main/Curved.h new file mode 100644 index 0000000..878de1b --- /dev/null +++ b/src/main/Curved.h @@ -0,0 +1,30 @@ +/* + * Curved.h + * + * Created on: Mar 22, 2011 + * Author: jakob + */ + +#ifndef CURVED_H_ +#define CURVED_H_ + +#include <math.h> +#include "Vector3D.h" + +namespace vhc { + +//TODO implement abstract methods of Element +class Curved: public Element { + +protected: + + Vector3D centerOfCurvature; + +public: + + Curved(const Vector3D& entry, const Vector3D& exit, double sectionRadius, double curvatureRadius, Element* next = NULL); +}; + +} + +#endif /* CURVED_H_ */ |