closest#

PointData.closest(start, end)#

Get the closest point on a line segment from the point.

Parameters:
startansys.edb.core.typing.PointLike

Start point of the line segment.

endansys.edb.core.typing.PointLike

End point of the line segment.

Returns:
typing.Optional[PointData] or None if either point is an arc.