CGAlgorithmsService-distancePointLinedistancePointLineComputes the distance from a point P to a line segment AB Note: NON-ROBUST!pointAone point of the linepointBanother point of the line (must be different to A)pointPthe point to compute the distance for