Main Content

findPointsInsideCuboid

(To be removed) Find points enclosed by cuboid model

Since R2020b

findPointsInsideCuboid function will be removed in a future release. Use findPointsInModel (since R2024a) instead.

Description

indices = findPointsInsideCuboid(model,ptCloudIn) returns the linear indices of the points enclosed by a cuboid model, model, in an input point cloud, ptCloudIn.

Input Arguments

collapse all

Cuboid model, specified as a cuboidModel object.

Point cloud, specified as a pointCloud object.

Output Arguments

collapse all

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™.

Version History

Introduced in R2020b

collapse all

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.

See Also

Functions

Objects