I have an array containing point objects with structure { 'x' : x , 'y' : y } . How can I remove duplicate points from this array. I searched but didn't find solution which will work in this case. Thanks in advance .
Asked
Active
Viewed 27 times
0
-
How do you define "duplicate points"? – May 19 '15 at 05:18
-
@ambarox Wrong language? – May 19 '15 at 05:20
-
can you give/show the exact array structure with duplicates? – Shaik Md N Rasool May 19 '15 at 05:24
-
Got the solution !!! Duplicate point means point having same x and y co-ordinates. Thanks anyways !!! – Harshal May 19 '15 at 05:33