# Bounds::GetVolume ```cpp float GetVolume() const ``` 计算包围盒的体积。 **返回:** `float` - 体积 **复杂度:** O(1) **示例:** ```cpp float vol = bounds.GetVolume(); ```