| GeometryHelperMergeDuplicatePositions Method (IListVector3F, Single) |
Merges duplicate positions.
Namespace: DigitalRune.GeometryAssembly: 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
)
Public Shared Function MergeDuplicatePositions (
positions As IList(Of Vector3F),
positionTolerance As Single
) As Integer
public:
static int MergeDuplicatePositions(
IList<Vector3F>^ positions,
float positionTolerance
)
static member MergeDuplicatePositions :
positions : IList<Vector3F> *
positionTolerance : float32 -> int
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:
Int32The number of removed positions.
Exceptions See Also