# BrepReplaceEdgeMethod enum

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v9.0

```cs
public enum BrepReplaceEdgeMethod
```

How a deleted edge is re-trimmed by [Brep.ReplaceEdge(IEnumerable<int>, BrepReplaceEdgeMethod, Curve, double)](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep/replaceedge.md). Equivalent to the options of the ReplaceEdge command.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Line | 0 | Replace the edge with a straight line across the gap. |
| ExtendSideEdges | 1 | Extend the two adjacent edges until they meet. |
| Curve | 2 | Replace the edge with a supplied curve. |
