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 – ndarray of the x,y,z position of points.

  • ball_center – cndarray - position x, y, z of center position of the

ball. Ball center position should be in the points graph. :param ball_radius: float value of the ball radius :return: list of intercepted points