# DistancingMode 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 v6.0

```cs
public enum DistancingMode
```

Defines how offset and similar operations should work.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Undefined | 0 | Nothing is defined. This serves as null. |
| Linear | 1 | When geometrically possible, offsets with a linear distance. |
| LinearFromEnd | 2 | When geometrically possible and an opposite side exists, offsets with a linear distance from that side. |
| Ratio | 3 | When geometrically possible, uses a percentage of respective neighbours to compute offsets. |
| RatioFromEnd | 4 | When geometrically possible and an opposite side exists, uses a percentage of respective neighbours to compute offsets. |
