# GeometryExtensionMethods.PointOnInterior examples

Examples for [PointOnInterior](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.geometryextensionmethods/pointoninterior.md) in Grasshopper2.Extensions.GeometryExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
Point3d result = face.PointOnInterior(precision);

// As a static method
result = GeometryExtensionMethods.PointOnInterior(face, precision);
```

## Python

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

# As an extension method
result = face.PointOnInterior(precision)

# As a static method
result = Grasshopper2.Extensions.GeometryExtensionMethods.PointOnInterior(face, precision)
```
