Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

distance of a point from a line python

d = norm(np.cross(p2-p1, p1-p3))/norm(p2-p1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #distance #point #line #python
ADD COMMENT
Topic
Name
3+6 =