判断已知三维点是否在已知三维线段上,在线段上返回 true, 否则返回 false。

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

语法

C#
public static bool IsPointOnLineSegment(
	Point3D point,
	Point3D startPoint,
	Point3D endPoint
)

参数

point
Type: SuperMap.Data..::.Point3D
已知三维点。
startPoint
Type: SuperMap.Data..::.Point3D
已知三维线段的起点。
endPoint
Type: SuperMap.Data..::.Point3D
已知三维线段的终点。

返回值

点在线段上返回 true, 否则返回 false。

版本信息

SuperMap iObjects .NET


SuperMap Objects .NET

受以下版本支持: 6.1.3

请参见