FUNCTION REFERENCE
imref2d.contains
Test whether world coordinates lie inside an imref2d spatial bounds.
Test whether world coordinates lie inside an imref2d spatial bounds.
Syntax
tf = contains(R, xWorld, yWorld)Syntax
tf = R.contains(xWorld, yWorld)Returns a logical array indicating which (xWorld, yWorld) points fall within R.XWorldLimits and R.YWorldLimits.
Example
R = imref2d([10 10]); R.contains(5, 5) % trueDifferences from MATLAB: None.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.