FUNCTION REFERENCE
rectint
Calculate areas of intersection between rectangles.
Calculate areas of intersection between rectangles.
Syntax
rectint(A, B)Each row contains [x y width height]. The result has one row per rectangle in A and one column per rectangle in B. Rectangles touching only at an edge have zero intersection area.
Example
rectint([0 0 2 2], [1 1 2 2]) % 1Differences from MATLAB: none known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.