The XUnit type exposes the following members.
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Memberwise comparison. To compare by value,
use code like Math.Abs(a.Pt - b.Pt) < 1e-5.
|
![]() ![]() | (Double to XUnit) |
Converts a double to an XUnit object with type set to point.
|
![]() ![]() | (Int32 to XUnit) |
Converts an int to an XUnit object with type set to point.
|
![]() ![]() | (String to XUnit) |
Converts a string to an XUnit object.
If the string contains a suffix like 'cm' or 'in' the object will be converted
to the appropriate type, otherwise point is assumed.
|
![]() ![]() | (XUnit to Double) |
Returns a double value as point.
|
![]() ![]() | Inequality |
Memberwise comparison. To compare by value,
use code like Math.Abs(a.Pt - b.Pt) < 1e-5.
|
See Also