RemoveDuplicates

Declaration: TIlabTrnDataSet.RemoveDuplicates: integer;
The function RemoveDuplicates removes all duplicates from the data set and returns the number of removed points. Please note that a data point (see TDataPoint) is regarded to be duplicate if both the x and the y coordinates are the same.

Hint: The search for duplicate data points may fail if the x and y coordinates are rational numbers (due to rounding effects).