Check if point belongs to line created between two points p1 and p2 with defined margin in pixels threshold
See Implementation
Check if point belongs to line created between two points p1 and p2 with defined margin in pixels threshold