Skip to content

Commit

Permalink
GRIDEDIT-1558 Added small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSenior committed Jan 7, 2025
1 parent 7e289fc commit 0161b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/MeshKernelApi/src/MeshKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3398,6 +3398,7 @@ namespace meshkernelapi

const std::vector<meshkernel::Point>& snappedPolygonPoints = polygons.Enclosure(enclosureIndex).Outer().Nodes();

// Copy the snapped polygon points
for (size_t i = 0; i < snappedPolygonPoints.size(); ++i)
{
polygon.coordinates_x[i + enclosureStartPoint] = snappedPolygonPoints[i].x;
Expand Down

0 comments on commit 0161b37

Please sign in to comment.