distance
Syntax
Description
returns the distances to the closest boundaries for a subregion of the map layer,
dist
= distance(map
,cornerLocation
,mapSize
)map
. The subregion starts in the corner location
cornerLocation
in the world coordinate frame with a given map size
mapSize
.
returns the distances to the closest boundaries for a subregion of the map layer,
dist
= distance(map
,cornerLocation
,mapSize
,frame
)map
. The subregion starts in the corner location
cornerLocation
in the coordinate frame frame
.
Note
When specifying a corner location and map size, distance
determines the distances between cell centers within the rectangular query
region.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2023a