# MeshExtensionMethods.EdgeTouchesVertex examples

Examples for [EdgeTouchesVertex](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.meshextensionmethods/edgetouchesvertex.md) in Grasshopper2.Extensions.MeshExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
bool result = mesh.EdgeTouchesVertex(edgeIndex, vertexIndex);

// As a static method
result = MeshExtensionMethods.EdgeTouchesVertex(mesh, edgeIndex, vertexIndex);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Extensions
clr.ImportExtensions(Grasshopper2.Extensions)

# As an extension method
result = mesh.EdgeTouchesVertex(edge_index, vertex_index)

# As a static method
result = Grasshopper2.Extensions.MeshExtensionMethods.EdgeTouchesVertex(mesh, edge_index, vertex_index)
```
