Browse Source

fix release

researchman 7 years ago
parent
commit
7df2e3d250
3 changed files with 4 additions and 4 deletions
  1. 1 1
      CSVparser/CSVparser.cpp
  2. 1 1
      KNN/KNN.cpp
  3. 2 2
      locate_algorithm.h

+ 1 - 1
CSVparser/CSVparser.cpp

@@ -1,4 +1,4 @@
-#include "stdafx.h"
+//#include "stdafx.h"
 
 #include <fstream>
 #include <sstream>

+ 1 - 1
KNN/KNN.cpp

@@ -1,4 +1,4 @@
-#include "stdafx.h"
+//#include "stdafx.h"
 #include<iostream>  
 #include<map>  
 #include<vector>  

+ 2 - 2
locate_algorithm.h

@@ -52,8 +52,8 @@ public:
 	static bool CheckPosInValid(POS* pos,ReceiveDataMap* pRdm,double dScale);
 	static bool IsOnMap(std::shared_ptr<POS> pos,std::shared_ptr<TDOAReaderPathMap> trpm);
 	
-	bool IsInTriangle(std::vector<_point> vtp,_point p);
-	double GetTriangleArea(_point p0,_point p1,_point p2);
+	static bool IsInTriangle(std::vector<_point> vtp,_point p);
+	static double GetTriangleArea(_point p0,_point p1,_point p2);
 };
 
 #endif