openalea.phenomenal.segmentation.plane_interception.max_distance_from_point_to_points

openalea.phenomenal.segmentation.plane_interception.max_distance_from_point_to_points(points, src_point)[source]

Compute and return the maximal Euclidean distance between src_point and the most separate point from him in points.

Parameters:
  • src_point – 3-tuple position of src_points: (x, y, z)

  • points – A ndarray of 3d points position.

Returns:

int : The maximal distance