Compute the distance from the point (Px, Py) to the line segment AB.
int
which specifies the x coordinate of the point (Px,Py). int
which specifies the y coordinate of the point (Px,Py). int[]
which specifies the point that defines the head of the line segment. int[]
which specifies the point that defines the tail of the line segment. A double
which contains the distance from the point (Px,Py) to the line segment AB.
If the closest point from P to the line AB is not between A and B then the distance to the closer of A and B is returned.
PickEventArgs Class | Imsl.Chart2D Namespace