Removes duplicate vertices.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)
Syntax
| C# |
|---|
public int WeldVertices() |
| Visual Basic |
|---|
Public Function WeldVertices As Integer |
| Visual C++ |
|---|
public: int WeldVertices() |
Return Value
The number of removed vertices.
Remarks
This method calls WeldVertices(Single) with a vertex position tolerance of EpsilonF.
Vertex welding is also called vertex shifting or vertex merging. Vertices near each other are merged to a single vertex to remove duplicate, redundant vertices.