cuboidModel
Object for storing parametric cuboid model
Description
The cuboidModel object stores the parameters of a parametric
cuboid model. After you create a cuboidModel object, you can extract cuboid
corner points, and points within the cuboid using the object functions. Cuboid models are used
to store the output of pcfitcuboid
function. It is a shape fitting function which fits a cuboid over a point
cloud.
Creation
There are two ways to create a cuboidModel object.
Create a cuboid model by specifying the cuboid parameters in the
cuboidModelfunction.Fit a cuboid model over a point cloud using the
pcfitcuboidfunction.
Description
constructs a parametric cuboid model from the 1-by-9 input vector,
model = cuboidModel(params)params.
fits a cuboid over the input point cloud data. The model = pcfitcuboid(ptCloudIn)pcfitcuboid
function stores the properties of the cuboid in a parametric cuboid model object,
model.
fits a cuboid over a selected set of points, model = pcfitcuboid(ptCloudIn,indices)indices, in the input
point cloud.
Properties
Object Functions
getCornerPoints | Get corner points of cuboid model |
findPointsInModel | Find points enclosed by cuboid model |
plot | Plot cuboid model |
Examples
Extended Capabilities
Version History
Introduced in R2020b





