openalea.phenomenal.segmentation.plane_interception.intercept_points_along_path_with_planes#
- openalea.phenomenal.segmentation.plane_interception.intercept_points_along_path_with_planes(points, polyline, windows_size=8, distance_from_plane=4, points_graph=None, without_connection=False, voxels_size=4, with_relative_distance=True, fix_distance_from_src_point=None)[source]#
Return a list of the intercept points along a path with a plane.
- Parameters:
points (list) – The list of points.
polyline (numpy.ndarray) – Array of points.
windows_size (int) – The size of the search window.
distance_from_plane (int) – The maximum distance from the plane.
points_graph (networkx.graph) – The point graph.
without_connection (bool) – Whether the graph as connection or not.
voxels_size (int) – The size of each voxel.
with_relative_distance (bool)
fix_distance_from_src_point (float) – (optional) use a fixed distance.
- Returns:
out – a tuple with a list of intercepted points and the plane equation.
- Return type: