// // Created by lloyd on 2020/9/28. // #ifndef GTCVR_GTBASEPARAMANALYSIZE_H #define GTCVR_GTBASEPARAMANALYSIZE_H #include #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> gtdataContent;*/ /** * cal base param max min L S Area and etc. * @param _baseparam */ void analysisParam(dgns_gtbaseparam *_baseparam); private: double getFirstTurningPoint2(std::vector>gt, int gt_pointNum); void checkGTLegality(dgns_gtbaseparam *_baseparam); }; #endif //GTCVR_GTBASEPARAMANALYSIZE_H