Files
XCSDD/docs/api/math/bounds/getvolume.md

18 lines
199 B
Markdown
Raw Normal View History

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