edge_by_point#

Circle3dLayout.edge_by_point(point: list[float | int])#

Return the index of the closest edge to the specified point.

Parameters:
pointlist of float or int

Coordinates of the point as [x, y].

Returns:
int

Index of the closest edge in self.edges.