Test whether two ROIs intersect
Usage
at_roi_overlaps(roi1, roi2, call = rlang::caller_env(), image = NULL)
Arguments
- roi1, roi2
annot_roi objects.
- call
The calling environment, for error reporting.
- image
Optional annot_image; required for mixed coordinate levels.
Value
A logical scalar: TRUE when the ROIs share any point, including
ROIs that only touch along an edge or at a corner.
See also
Other geometry:
at_check_containment(),
at_check_geometry(),
at_clamp(),
at_fix_geometry(),
at_flip_y(),
at_roi_buffer(),
at_roi_contains(),
at_roi_distance(),
at_roi_rescale(),
at_roi_ring(),
at_roi_setops,
at_roi_simplify(),
at_rois_overlap(),
at_snap(),
at_transform()