distance# PointData.distance(start, end=None)# Compute the shortest distance from the point to a line segment when an end point is given. Otherwise, compute the distance between this point and another point. Parameters: startansys.edb.core.typing.PointLikeStart point of the line segment. endansys.edb.core.typing.PointLike, default: NoneEnd point of the line segment. Returns: float