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 points.

Parameters:
  • points – ndarray of points

  • polyline – ndarray ot points

  • graph – graph of the points

  • ball_radius – size of the ball radius in mm

Returns:

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