DistancePointToLine Method |
返回用户文档首页
计算点到直线的距离
Namespace: LoongCAD.Geometry.FriendlyAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.8 (2025.0.9.8)
Syntaxpublic static double PointToLine(
Point p,
Line line
)
Parameters
- p Point
- 点
- line Line
- 直线
Return Value
Double点到直线的垂直距离
See Also