openalea.phenomenal.segmentation.plane_interception.intercept_points_from_src_point_with_plane_equation

openalea.phenomenal.segmentation.plane_interception.intercept_points_from_src_point_with_plane_equation(points, src_point, plane_equation, distance_from_plane, distance_from_src_point=None)[source]

Intercept the points whose the distance from the plane (generate by plane_equation) are equal or inferior to the distance_from_plane. If distance_from_src_point is not None, the intercept points are also the points whose the distance from the src_point are equal or inferior to the distance_from_src_point.

If points_graph is not None, points return are the points in the same connected component that src_point.

Parameters:
  • points – ndarray containing x,y, z position of each point

  • src_point – point source

  • plane_equation

  • distance_from_plane

  • distance_from_src_point

Returns:

return the intercepted points