Files
XCSDD/docs/api/math/plane/getside.md

21 lines
318 B
Markdown
Raw Normal View History

# Plane::GetSide
```cpp
bool GetSide(const Vector3& point) const
```
判断点在平面的哪一侧。
**参数:**
- `point` - 要测试的点
**返回:** `bool` - true 表示点在法线方向一侧
**复杂度:** O(1)
**示例:**
```cpp
if (plane.GetSide(point)) { /* point is on normal side */ }
```