/* * FlyObject.h * * * Created by Md. Alimoor Reza on 6/26/10. * Copyright 2010 Drexel University. All rights reserved. * */ #include #include #include #include using namespace std; class FlyObject { public: //FlyObject(int area, pair centroid, pair majorAxisEV, pair velocityV, vector > areaCoord); FlyObject(int area, pair centroid, pair majorAxisEV, pair velocityV,bool headIsInDirectionMAEV, pair head, double speed); FlyObject(const FlyObject &f); int getArea() const; pair getCentroid() const; pair getMajorAxisEV() const; pair getVelocityV() const; bool getHeadIsInDirectionMAEV() const; pair getHead() const; double getSpeed() const; //vector > getAreaCoord() const; void setArea(int area); void setCentroid(pair); void setMajorAxisEV(pair); void setVelocityV(pair); void normalizeVelocity(); void setHeadIsInDirectionMAEV(bool); void setHead(pair head); void setSpeed(double speed); //void setAreaCoord(vector >); void output(ostream &out); private: int area; //vector > areaCoord; pair centroid; pair majorAxisEV; pair velocityV; bool headIsInDirectionMAEV; pair head; double speed; };