ivnearpoint_simple.h 428 B

1234567891011121314151617181920
  1. #ifndef IVNEARPOINT_SIMPLE_H
  2. #define IVNEARPOINT_SIMPLE_H
  3. #include "ivif_nearpoint.h"
  4. class ivnearpoint_simple : public ivif_nearpoint
  5. {
  6. public:
  7. ivnearpoint_simple();
  8. ~ivnearpoint_simple();
  9. public:
  10. virtual int FindNearPoint(const std::vector<iv::GPSData> & gpsMapLine,double fLon, double fLat, double fHeading);
  11. virtual void ResetFind();
  12. private:
  13. int mnLastIndex = -1;
  14. };
  15. #endif // IVNEARPOINT_SIMPLE_H