MathUtils.PointInsideTriangle
MathUtils.PointInsideTriangle method
检查点 p 是否在三角形 (p0, p1, p2) 内
public static bool PointInsideTriangle(Vector2 p, Vector2 p0, Vector2 p1, Vector2 p2)
| 参数 | 类型 | 描述 |
|---|---|---|
| p | Vector2 | |
| p0 | Vector2 | |
| p1 | Vector2 | |
| p2 | Vector2 |
另请参见
- struct Vector2
- class MathUtils
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D