Changed definition of pointPositionOnSegment().