openalea.phenomenal.segmentation.plane_interception.intercept_points_along_polyline_with_ball#

openalea.phenomenal.segmentation.plane_interception.intercept_points_along_polyline_with_ball(points, graph, polyline, ball_radius=50)[source]#

Return a list of intercept point along a polyline by a ball at each point.

Parameters:
  • points (numpy.ndarray) – Array of points

  • polyline (numpy.ndarray) – Array of points

  • graph (networkx.graph) – Graph of the points

  • ball_radius (float) – The radius of the ball in mm

Returns:

intercepted_points – list of points intercepted by the ball [[(x, y, z), …], …].

Return type:

list