# BrepDeviation class

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

```cs
public sealed class BrepDeviation
```

The result of [Brep.ComputeDeviation(Brep, Brep, double, BrepDeviationOptions)](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep/computedeviation.md).

## Properties

- [AToB](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brepdeviation/atob.md): Measured at samples on brepA.
- [BToA](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brepdeviation/btoa.md): Measured at samples on brepB. Null when [BrepDeviationOptions.BothDirections](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brepdeviationoptions/bothdirections.md) was false.
- [Maximum](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brepdeviation/maximum.md): The [BrepDeviationMeasure.Maximum](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brepdeviationmeasure/maximum.md) of the two directions with the larger deviation. An empty sample when no sample has a counterpart.
