removeMesh
Description
Input Arguments
mTSDF
— Truncated signed distance field for 3-D meshes
meshtsdf
object
Truncated signed distance field for 3-D meshes, specified as a meshtsdf
object.
Example: meshtsdf(meshes,TruncationDistance=5)
creates a TSDF for the
specified meshes with a truncation distance of 5
meters.
id
— ID of mesh to remove
nonnegative integer | N-element vector of nonnegative integers
ID of mesh to remove, specified as a nonnegative integer or N-element vector of nonnegative integers. N is the total number of meshes to remove.
Example: removed = removeMesh(tsdf,2)
removes meshes in the TSDF
with mesh ID of 2
.
Example: removed = removeMesh(tsdf,[1 2 3])
removes meshes in the
TSDF with mesh IDs 1
, 2
, and
3
.
Output Arguments
isRemoved
— Indication of whether meshes were removed or not
true
or 1
| false
or 0
| N-element vector of logical scalars
Indication of whether meshes were removed or not, returned as logical
1
(true
) if the mesh was successfully removed or
0
(false
) if id
specifies
an ID of a mesh that does not exist in mTSDF
. If
id
is an N-element of nonnegative integers,
then isRemoved
is an N-element vector of logical
scalars corresponding to each of the N IDs in
id
.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2024a
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)