VictorXjoeY / Notebook

Notebook used for competitive programming!
11 stars 2 forks source link

Distance between Point and Segment #22

Closed VictorXjoeY closed 4 years ago

VictorXjoeY commented 4 years ago

point_segment_distance(q, a, b): Return the point P which is inside the segment AB which is closest to Q.

VictorXjoeY commented 4 years ago

Done.