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 (tuple) – 3-tuple position of src_points: (x, y, z)

  • points (numpy.ndarray) – An ndarray of 3d points position.

Returns:

max – The maximal distance

Return type:

int