ivxodrtool.h 444 B

123456789101112131415161718192021222324
  1. #ifndef IVXODRTOOL_H
  2. #define IVXODRTOOL_H
  3. #include "OpenDrive/OpenDrive.h"
  4. class ivxodrtool
  5. {
  6. public:
  7. ivxodrtool();
  8. public:
  9. static ivxodrtool& Inst();
  10. public:
  11. int GetRoadMaxMin(Road * pRoad,double & xmin,double & ymin,double & xmax,double & ymax);
  12. private:
  13. void ChangeMaxMin(double x,double y,double & xmin,double & ymin,double & xmax,double & ymax);
  14. };
  15. #define ServiceXODRTool ivxodrtool::Inst()
  16. #endif // IVXODRTOOL_H