deepof.utils.closest_side

deepof.utils.closest_side(polygon: list, reference_side: list)

Find the closest side in other polygons to a reference side in the first polygon.

Parameters:
  • polygon (list) – List of polygons.

  • reference_side (list) – List of coordinates of the reference side.

Returns:

List of coordinates of the closest side.

Return type:

closest_side_points (list)