# GeometryExtensionMethods.Split examples

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

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
bool result = curve.Split(plane, tolerance, out Curve[] above, out Curve[] below);

// As a static method
result = GeometryExtensionMethods.Split(curve, plane, tolerance, out above, out below);
```

## Python

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

# As an extension method
result, above, below = curve.Split(plane, tolerance)

# As a static method
result, above, below = Grasshopper2.Extensions.GeometryExtensionMethods.Split(curve, plane, tolerance)
```
