indices = findPointsInsideCuboid(model,ptCloudIn)
returns the linear indices of the points enclosed by a cuboid model,
model, in an input point cloud,
ptCloudIn.
indices — Indices of enclosed points N-element column vector
Indices of enclosed points, returned as an N-element column
vector. N is the number of enclosed points. Use the select function to select the corresponding points in the input point
cloud ptCloudIn.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
The findPointsInsideCuboid function has been removed. To find points enclosed by
the cuboid model, use the findPointsInModel function instead.
R2024a: Renamed to findPointsInModel
The findPointsInsideCuboid function is renamed to findPointsInModel. Replace all instances of
findPointsInsideCuboid with findPointsInModel in
your code. The findPointsInsideCuboid function will be removed in a
future release.
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.