Commit 1c68b94b authored by oscar's avatar oscar

提交更新

parent f6de94da
......@@ -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
// NO if it is not. If the point is exactly on the edge of the polygon,
// then the function may return YES or NO.
bool IsPointInPolygon(std::vector<std::vector<double>>& poly, const Point& pt)
bool IsPointInPolygon(const std::vector<std::vector<double>>& poly, const Point& pt)
{
int i, j;
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