MENOU SDK MENOU SDK
MENOU SDK MENOU SDK
MENOUフォーラム

Method CalculateNearestPointOnLine

CalculateNearestPointOnLine(IPointD, IPointD, IPointD)

指定した座標と2点のなす直線上の最近傍点を計算します。

Declaration
public static IPointD CalculateNearestPointOnLine(IPointD point, IPointD startPoint, IPointD endPoint)
Parameters
Type Name Description
IPointD point

座標

IPointD startPoint

直線始点

IPointD endPoint

直線終点

Returns
Type Description
IPointD

直線上の最近傍点

© Copyright 2021 MENOU Corp.