Find the bounding box of a rgl::mesh3d or rgl::qmesh3d object
Find the bounding box of a rgl::mesh3d or rgl::qmesh3d object
Ellipsoids are created by rgl functions as meshes of points, segments, ... from coordinates in various forms. This function calculates the bounding box, defined as the range of the x, y, and z coordinates.
bbox3d(x,...)
Arguments
x: A mesh3d object
...: ignored
Returns
A 2 x 3 matrix, giving the minimum and maximum values in the rows and x, y, z coordinates in the columns.