Click or drag to resize
DigitalRuneGeometryHelperMergeDuplicatePositions Method (IListVector3F, Single)
Merges duplicate positions.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static int MergeDuplicatePositions(
	IList<Vector3F> positions,
	float positionTolerance
)

Parameters

positions
Type: System.Collections.GenericIListVector3F
In: The positions.
Out: The positions without duplicates.
positionTolerance
Type: SystemSingle
The position tolerance. If the distance between two positions is less than this value, the positions are merged.

Return Value

Type: Int32
The number of removed positions.
Exceptions
ExceptionCondition
ArgumentNullExceptionpositions is .
ArgumentOutOfRangeExceptionpositionTolerance is negative or 0.
See Also