matplotlib / 3.4.3 / _as_gen / matplotlib.lines.segment_hits.html /

matplotlib.lines.segment_hits

matplotlib.lines. segment_hits ( cx, cy, x, y, radius ) [source]

Return the indices of the segments in the polyline with coordinates (cx, cy) that are within a distance radius of the point (x, y).

Examples using matplotlib.lines.segment_hits

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.lines.segment_hits.html