flownet.network_model._hull module

flownet.network_model._hull.check_in_hull(concave_hull_bounding_boxes: numpy.ndarray, coordinates: numpy.ndarray, in_hull_known: Optional[numpy.ndarray] = None) numpy.ndarray

Checks if all coordinates are inside the concave hull bounding boxes.

Parameters
  • concave_hull_bounding_boxes – Bounding boxes for the concave hull

  • connections – All coordianates to check

  • in_hull_known – List of booleans indicating whether to skip a coordinate if it is already known to be inside the hull.

Returns

np.ndarray with bools