Skip to content

Commit

Permalink
removed static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dieuska committed Sep 19, 2024
1 parent cc844f6 commit 7bad951
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions brdr/aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ def _add_multi_polygons_from_geom_to_array(geom: BaseGeometry, array):
return array


@staticmethod

def _calculate_geom_by_intersection_and_reference(
geom_intersection: BaseGeometry,
geom_reference: BaseGeometry,
Expand Down Expand Up @@ -1311,7 +1311,7 @@ def _calculate_geom_by_intersection_and_reference(
return geom, geom_relevant_intersection, geom_relevant_difference


@staticmethod

def _get_relevant_polygons_from_geom(geometry: BaseGeometry, buffer_distance: float):
"""
Get only the relevant parts (polygon) from a geometry.
Expand All @@ -1336,7 +1336,7 @@ def _get_relevant_polygons_from_geom(geometry: BaseGeometry, buffer_distance: fl
return make_valid(unary_union(array))


@staticmethod

def _equal_geom_in_array(geom, geom_array):
"""
Check if a predicted geometry is equal to other predicted geometries in a list.
Expand All @@ -1350,7 +1350,6 @@ def _equal_geom_in_array(geom, geom_array):
return False


@staticmethod
def _check_equality(
base_formula, actual_formula, threshold_area=5, threshold_percentage=1
):
Expand Down

0 comments on commit 7bad951

Please sign in to comment.