openalea.phenomenal.segmentation.plane_interception.intercept_points_with_ball#

openalea.phenomenal.segmentation.plane_interception.intercept_points_with_ball(points, ball_center, ball_radius)[source]#

Return a list of the intercept points by a ball of radius ball_radius and with center position ball_center.

Parameters:
  • points (numpy.ndarray) – Array of the x,y,z position of points.

  • ball_center (tuple) – ndarray - position x, y, z of center position of the ball. Ball center position should be in the points graph.

  • ball_radius (float) – Radius of the ball

Returns:

points – list of intercepted points

Return type:

list