Beam.endpoint_closest_to_point

Beam.endpoint_closest_to_point(point)[source]

Returns which endpoint of the centerline of the beam is closer to the given point.

Parameters:
pointPoint

The point of interest.

Returns:
list(str, Point)

Two element list. First element is either ‘start’ or ‘end’ depending on the result. The second element is the actual endpoint of the beam’s centerline which correspond to the result.