| TriangleMeshWeldVertices Method |
Removes duplicate vertices.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public int WeldVertices()
Public Function WeldVertices As Integer
public:
int WeldVertices()
member WeldVertices : unit -> int
Return Value
Type:
Int32The 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.
See Also