Commit 321c309c authored by oscar's avatar oscar

提交更新

parent 86072cfa
...@@ -81,7 +81,7 @@ bool HdLib::GetDataNearby(const Point &ptPoint, float fLonIntervalHalfMetre, flo ...@@ -81,7 +81,7 @@ bool HdLib::GetDataNearby(const Point &ptPoint, float fLonIntervalHalfMetre, flo
// The function will return YES if the point x,y is inside the polygon, or // The function will return YES if the point x,y is inside the polygon, or
// NO if it is not. If the point is exactly on the edge of the polygon, // NO if it is not. If the point is exactly on the edge of the polygon,
// then the function may return YES or NO. // then the function may return YES or NO.
bool IsPointInPolygon(std::vector<std::vector<float>>& poly, Point& pt) bool IsPointInPolygon(std::vector<std::vector<float>>& poly, const Point& pt)
{ {
int i, j; int i, j;
bool c = false; bool c = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment