EDIT: My line segment is defined by two endpoints. So my line segment
AB is defined by the two points
A (x1,y1) and
B (x2,y2). I’m trying to find the distance between this line segment and a point
C (x3,y3). My geometry skills are rusty, so the examples I’ve seen are confusing, I’m sorry to admit.