Bounding box
包围盒
Basic 基础Inputs 投入Outputs 产出Bounding box
包围盒
Every shape, regardless of its complexity, can be enclosed in a cube whose edges run parallel to the shape’s axes. This is called a bounding box. Since the cube orients itself to the geometry and not to the position of the axis system, the center point of the bounding box can, in combination with its dimensions, supply valuable information about the shape’s expanse in space. Imagine, for example, a very simple collision detection between geometries since their bounding boxes have to be checked overlapping independently of their polygon count or shape.
每个形状,无论其复杂性,都可以封闭在一个立方体中,其边缘与形状的轴线平行。这就是所谓的边界盒。由于立方体将自身定位于几何体而不是轴系的位置,包围盒的中心点结合其尺寸,可以提供有关形状在空间中扩展的有价值的信息。例如,想象一下,一个非常简单的几何图形之间的碰撞侦测,因为它们的边界框必须独立于它们的多边形数量或形状进行重叠检查。