Commit 86072cfa authored by oscar's avatar oscar

修改错误

parent 66ae5a68
...@@ -111,7 +111,7 @@ bool HdLib::GetIsInCross(const Point& ptPoint) ...@@ -111,7 +111,7 @@ bool HdLib::GetIsInCross(const Point& ptPoint)
{ {
for (int j = 0; j < vcthlLinkNearby[i]->vctcrCrossing; j++) for (int j = 0; j < vcthlLinkNearby[i]->vctcrCrossing; j++)
{ {
if (IsPointInPolygon(vcthlLinkNearby[i]->vctcrCrossing[j].vctvdGeoArea, ptInLoc)) if (IsPointInPolygon(vcthlLinkNearby[i]->vctcrCrossing[j].vctvdGeoArea, ptPoint))
{ {
return true; return true;
} }
......
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