Click or drag to resize

TriangleIntersect(Point, Point, Double) Method

返回用户文档首页
三角形与线段求交

Namespace: LoongCAD.STC.Friendly.Solid
Assembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2025.0.9.12 (2025.0.9.12)
Syntax
C#
public bool Intersect(
	Point point1,
	Point point2,
	out double t
)

Parameters

point1  Point
线段第一点
point2  Point
线段第二点
t  Double
返回的交点在线段中的线性参数

Return Value

Boolean
三角形与线段是否有交点
See Also