Main Content
distance
Description
returns the distance computed from the discrete distances in the signed distance field for
each of the specified query points. If the query point belongs to a voxel that is a distance
further than dist
= distance(sdm3D
,points
)sdm3D.TruncationDistance
from the iso-voxels of a
discretized mesh, then the distance value of the query point is limited to
sdm3D.TruncationDistance
. If a query point lies inside the mesh and
sdm3D.FillInterior
is true
, then the distance value
is computed from the distance values stored around the query point based on the
interpolation method chosen.
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2024b