Minimum bounding box algorithms
In computational geometry, the smallest enclosing box problem is that of finding the oriented minimum bounding box enclosing a set of points.[src] It is a type of bounding volume.[src] "Smallest" may refer to volume, area, perimeter, etc.[src] of the box.[src] It is sufficient to find the smallest enclosing box for the convex hull of the objects in question.[src] It is straightforward to find the smallest enclosing box that has sides parallel to the coordinate axes; the difficult part of the problem is to determine the orientation of the box.[src]
In computational geometry, the smallest enclosing box problem is that of finding the oriented minimum bounding box enclosing a set of points.[src] It is a type of bounding volume.[src] "Smallest" may refer to volume, area, perimeter, etc.[src] of the box.[src] It is sufficient to find the smallest enclosing box for the convex hull of the objects in question.[src] It is straightforward to find the smallest enclosing box that has sides parallel to the coordinate axes; the difficult part of the problem is to determine the orientation of the box.[src] ==Two dimensions== For the convex polygon, a linear time algorithm for the minimum-area enclosing rectangle is known.[src] It is based on the observation that a side of a minimum-area enclosing box must be colinear with a side of the convex polygon.[src] It is possible to enumerate boxes of this kind in linear time with the approach called rotating calipers by Godfried Toussaint in 1983.[src] The same approach is applicable for finding the minimum-perimeter enclosing rectangle.[src] A C++ implementation of the algorithm that is robust against floating point errors is available.[src] ==Three dimensions== In 1985, Joseph O'Rourke published a cubic-time algorithm to find the minimum-volume enclosing box of a 3-dimensional point set.[src] O'Rourke's approach uses a 3-dimensional rotating calipers technique, and is based on lemmas characterizing the minimum enclosing box: There must exist two neighbouring faces of the smallest-volume enclosing box which both contain an edge of the convex hull of the point set.[src] This criterion is satisfied by a single convex hull edge collinear with an edge of the box, or by two distinct hull edges lying in adjacent box faces.[src] The other four faces need only contain a point of the convex hull.[src] Again, the points which they contain need not be distinct: a single hull point lying in the corner of the box already satisfies three of these four criteria.[src] It follows in the most general case where no convex hull vertices lie in edges of the minimal enclosing box, that at least 8 convex hull points must lie within faces of the box: two endpoints of each of the two edges, and four more points, one for each of the remaining four box faces.[src] Conversely, if the convex hull consists of 7 or fewer vertices, at least one of them must lie within an edge of the hull's minimal enclosing box.[src] It is also possible to approximate the minimum bounding box volume, to within any constant factor greater than one, in linear time.[src] The algorithm for doing this involves finding an approximation to the diameter of the point set, and using a box oriented towards this diameter as an initial approximation to the minimum volume bounding box.[src] Then, this initial bounding box is partitioned into a grid of smaller cubes, and grid points near the boundary of the convex hull of the input are used as a coreset, a small set of points whose optimum bounding box approximates the optimum bounding box of the original input.[src] Finally, O'Rourke's algorithm is applied to find the exact optimum bounding box of this coreset.[src] A Matlab implementation of the algorithm is available.[src] The minimal enclosing box of the regular tetrahedron is a cube with side length \frac{1}{\sqrt{2}} that of the tetrahedron; for instance, a regular tetrahedron with side length \sqrt{2} fits into a unit cube, with the tetrahedron's vertices lying at the vertices (0,0,0), (0,1,1), (1,0,1) and (1,1,0) of the unit cube.[src] ==See also== Smallest enclosing ball Minimum bounding rectangle ==References==[src]
31 sentences · 31 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Minimum bounding box algorithms." encyclopegia.org, 2025, https://encyclopegia.org/wiki/minimum-bounding-box-algorithms. Accessed 02 December 2026.
Chicago
"Minimum bounding box algorithms." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/minimum-bounding-box-algorithms.
APA
encyclopegia.org. (2025). Minimum bounding box algorithms. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/minimum-bounding-box-algorithms
Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON