nearestPointToLine
描述
¥Description
返回 collection 点中距离 line 最近的 point。返回的点具有 dist
属性,指示其与直线的距离。
¥Returns the closest point, of a collection of points,
to a line. The returned point has a dist
property indicating its distance to the line.
¥Description
返回 collection 点中距离 line 最近的 point。返回的点具有 dist
属性,指示其与直线的距离。
¥Returns the closest point, of a collection of points,
to a line. The returned point has a dist
property indicating its distance to the line.