closest#
- PointData.closest(start, end)#
Get the closest point on a line segment from the point.
- Parameters:
- start
ansys.edb.core.typing.PointLike
Start point of the line segment.
- end
ansys.edb.core.typing.PointLike
End point of the line segment.
- start
- Returns:
typing.Optional
[PointData
]or
None
if
either
point
is
an
arc.