获取点到线的最短距离以及对应的垂足(端点)坐标

命名空间:  SuperMap.Desktop
程序集:  SuperMap.Desktop.UI.Controls (in SuperMap.Desktop.UI.Controls)
版本: dll

语法

C#
public static double GetMinDistance(
	Point2D breakPoint,
	Point2Ds desLinePoints,
	double tolerance,
	ref Point2D perpendicularFoot,
	ref int nSegment
)

参数

breakPoint
Type: SuperMap.Data..::.Point2D
desLinePoints
Type: SuperMap.Data..::.Point2Ds
tolerance
Type: System..::.Double
perpendicularFoot
Type: SuperMap.Data..::.Point2D %
nSegment
Type: System..::.Int32 %

返回值

请参见