ese 519 include files
Dependents: PROJECT_3D_AUDIO COG4050_adxl355_tilt COG4050_adxl355_tilt COG4050_adxl355_tilt_4050
velocity.h
- Committer:
- niv17
- Date:
- 2015-04-07
- Revision:
- 0:5347612e39a3
File content as of revision 0:5347612e39a3:
#ifndef VELOCITY_H #define VELOCITY_H #pragma once #include <stdexcept> using namespace std; class Velocity { float dx; float dy; float dz; public: Velocity () : dx(0), dy(0), dz(0) {} Velocity (float dx0, float dy0, float dz0) : dx(dx0), dy(dy0), dz(dz0) {} Velocity& operator= (const Velocity&); Velocity& operator+=(const Velocity&); bool operator< (const Velocity&) const; float getdX (void) const; float getdY (void) const; float getdZ (void) const; }; #endif