SvgPlottingUtilRemoveDuplicates Method

Remove all values that are either exact duplicates or appear to be duplicates when compared within the specified decimal precision.

Definition

Namespace: SvgPlotting
Assembly: SvgPlotting (in SvgPlotting.dll) Version: 25.2722.4017
C#
public static PlotPointCollection RemoveDuplicates(
	PlotPointCollection points,
	int epsilonDecimalPlaces = 3
)

Parameters

points  PlotPointCollection
Reference to the collection of points to review.
epsilonDecimalPlaces  Int32  (Optional)
Number of decimal places to compare. Default is 3.

Return Value

PlotPointCollection
A newly constructed plot point collection containing all of the unique points in the caller's collection, within the specified precision.

See Also