Skip to content

Commit

Permalink
Parameter rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacarniato committed Sep 2, 2024
1 parent a46a852 commit 1c518b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions meshkernel/meshkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,13 @@ def mesh2d_get_face_polygons(self, num_edges: int) -> GeometryList:
return face_polygons

def mesh2d_get_filtered_face_polygons(
self, filter: Mesh2d.Property, min_value: float, max_value: float
self, property: Mesh2d.Property, min_value: float, max_value: float
) -> GeometryList:
"""Gets the polygons matching the metric value within the minimum and maximum value.
Args:
filter (Mesh2d.Property): The metric used to filter the locations
property (Mesh2d.Property): The property used to filter the locations
min_value(float): The minimum value of the metric.
max_value(float): The maximum value of the metric.
Expand All @@ -478,7 +478,7 @@ def mesh2d_get_filtered_face_polygons(
self._execute_function(
self.lib.mkernel_mesh2d_get_filtered_face_polygons_dimension,
self._meshkernelid,
c_int(filter),
c_int(property),
c_double(min_value),
c_double(max_value),
byref(c_geometry_list_dimension),
Expand All @@ -496,7 +496,7 @@ def mesh2d_get_filtered_face_polygons(
self._execute_function(
self.lib.mkernel_mesh2d_get_filtered_face_polygons,
self._meshkernelid,
c_int(filter),
c_int(property),
c_double(min_value),
c_double(max_value),
byref(c_face_polygons),
Expand Down

0 comments on commit 1c518b3

Please sign in to comment.