Skip to content

Commit

Permalink
Minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacarniato committed Oct 17, 2023
1 parent 27422e8 commit b623a32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libs/MeshKernel/src/Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,10 +885,7 @@ std::vector<bool> Mesh::IsLocationInPolygon(const Polygons& polygon, Location lo
std::vector<bool> result(locations.size(), false);
for (UInt i = 0; i < result.size(); ++i)
{
if (polygon.IsPointInPolygon(locations[i], 0))
{
result[i] = true;
}
result[i] = polygon.IsPointInPolygon(locations[i], 0);
}

return result;
Expand Down

0 comments on commit b623a32

Please sign in to comment.