12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // Created by lloyd on 2020/9/28.
- //
- #ifndef GTCVR_GTBASEPARAMANALYSIZE_H
- #define GTCVR_GTBASEPARAMANALYSIZE_H
- #include <vector>
- #include "DataMapping/dgns_gtbaseparam.h"
- class gtbaseparamanalysize {
- public:
- /*double s_max;
- double s_min;
- double l_max;
- double l_min;
- int pointNum;
- double S;
- double L;
- double N;
- double gt_area;
- double l_mid;
- //功图第一拐点载荷
- double l_fistdownturnpoint;
- double gt_s_effect;
- //0: not legal ;1: in legal ;default:-1
- int isLegal;
- std::vector<std::vector<double>> gtdataContent;*/
- /**
- * cal base param max min L S Area and etc.
- * @param _baseparam
- */
- void analysisParam(dgns_gtbaseparam *_baseparam);
- private:
- double getFirstTurningPoint2(std::vector<std::vector<double>>gt, int gt_pointNum);
- void checkGTLegality(dgns_gtbaseparam *_baseparam);
- };
- #endif //GTCVR_GTBASEPARAMANALYSIZE_H
|