Click or drag to resize

PlaneIntersect(Line, Double) Method

返回用户文档首页
判断一条直线是否与平面相交,并计算交点。

Namespace: LoongCAD.Geometry.Friendly
Assembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.8 (2025.0.9.8)
Syntax
C#
public bool Intersect(
	Line line,
	out double ret_t
)

Parameters

line  Line
直线。
ret_t  Double
输出参数,如果相交,则表示射线起点到交点的距离。

Return Value

Boolean
如果射线与平面相交,返回true;否则返回false。
Remarks
如果射线与平面平行,则返回false。
See Also