Deletes a vertex from the mesh.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
C# |
---|
public List<MeshEdge> DeleteVertex( int index ) |
Visual Basic (Declaration) |
---|
Public Function DeleteVertex ( _ index As Integer _ ) As List(Of MeshEdge) |
Visual C++ |
---|
public: List<MeshEdge^>^ DeleteVertex( int index ) |
Parameters
- index
- Type: System..::.Int32
The index of the vertex to delete.
Return Value
Returns the boundary edges of the generated hole in the mesh.Remarks
Deleting a vertex generates a hole in the mesh if the vertex lies on
the surface of the mesh.
Deleting a vertex modifies the boundary of the mesh if the vertex lies on
a boundary edge of the mesh.
This method maintains the consistancy of the mesh by updating the respective
adjacency information.