cshape_overlap_checker

nrv.utils.geom.cshape_overlap_checker(s: CShape, s_comp: CShape | list[CShape], n_trace: int = 1000, on_trace: bool = False) bool | list[bool][source]

Check if a CShape overlape with another or a list of them.

Warning

This version is not ideal and will be improved in the future

Parameters:
  • s (CShape) – _description_

  • s_comp (CShape | list[CShape]) – _description_

  • n_trace (int, optional) – _description_, by default 1000

  • on_trace (bool, optional) – _description_, by default False

Returns:

_description_

Return type:

bool|list[bool]