indices = findPointsInModel(model,ptCloud)
finds the points in the point cloud ptCloud that are located inside or
on the surface of the geometric shape specified by model, and returns
their linear indices.
Starting in R2026b, findPointsInModel is available in Point Cloud Toolbox™. In releases R2026a and before, findPointsInModel is available in
Computer Vision Toolbox™.