Operator operator ==
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
operator ==(Unit, Unit)
Memberwise comparison checking exact value and unit. To compare by value tolerating rounding errors, use IsSameValue() or code like Math.Abs(a.Point - b.Point) < 1e-5.
public static bool operator ==(Unit l, Unit r)
Parameters
Returns
- bool
operator ==(Unit?, Unit?)
Memberwise comparison checking exact value and unit. To compare by value tolerating rounding errors, use IsSameValue() or code like Math.Abs(a.Point - b.Point) < 1e-5.
public static bool operator ==(Unit? l, Unit? r)
Parameters
Returns
- bool