mpl_toolkits.mplot3d.proj3d.line2d_seg_dist

mpl_toolkits.mplot3d.proj3d.line2d_seg_dist(p1, p2, p0) [source]

[Deprecated] distance(s) from line defined by p1 - p2 to point(s) p0

p0[0] = x(s) p0[1] = y(s)

intersection point p = p1 + u*(p2-p1) and intersection point lies within segment if u is between 0 and 1

Notes

Deprecated since version 3.1.

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/mpl_toolkits.mplot3d.proj3d.line2d_seg_dist.html