Main Content

Parametric cuboid model

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.

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.

For more information on how to use this function, visit `pcfitcuboid`

function reference page.

`getCornerPoints` | Get corner points of cuboid model |

`findPointsInsideCuboid` | Find points enclosed by cuboid model |

`plot` | Plot cuboid model |