TriangleIntersect(Point, Point, Point) Method |
返回用户文档首页
三角形与线段求交
Namespace: LoongCAD.STC.Friendly.SolidAssembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2025.0.9.12 (2025.0.9.12)
Syntaxpublic bool Intersect(
Point point1,
Point point2,
out Point hit
)
Parameters
- point1 Point
- 线段第一点
- point2 Point
- 线段第二点
- hit Point
- 返回的交点
Return Value
Boolean三角形与线段是否有交点
See Also