Shortest Distance between a Point and a Line in 2D

Опубликовано: 02 Май 2026
на канале: Wolfram Demonstrations Project
2,023
0

http://demonstrations.wolfram.com/Sho...

The Wolfram Demonstrations Project contains thousands of free interactive visualizations, with new entries added daily.

This Demonstration shows how the scalar product (dot product) can be used to find the point of shortest distance between a point P and a line. You can modify the line by dragging points A and B.

Contributed by: Sergio Hannibal Mejia (Yokohama International School)