**How to find the path having maximum number of points in a single line, and the distance between points should be same**

**How to find the path having maximum number of points in a single line, and the distance between points should be same**

related to an answer for:
Find the maximum number of points that lie on the same straight line.

...

Please be a little clear about what you exactly want the required algorithm to do.