dist = distance(mTSDF,points)
returns the distance from the specified query points to each voxel in the truncated signed
distance field (TSDF). If a voxel lies outside of the truncation distance radius of a query
point, then the distance of the query point is equal to the truncation distance.
dist = distance(mTSDF,points,InterpolationMethod=interp)
specifies the method to use for interpolating the distance values of nearby voxels.
dist — Distance values of voxel at each query point N-element vector
Distance values of voxel at each query point, specified as an
N-element vector. N is the total number of query
points specified in points.
By default, distance returns the distance value stored in
the nearest voxel at each query point. Use the interp argument to
use a different interpolation method.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.