UV.IsAlmostEqualTo(UV, Double)
Method
Description:
Determines whether this 2-D vector and the specified 2-D vector are the same within a specified tolerance.
Determines whether this 2-D vector and the specified 2-D vector are the same within a specified tolerance.
Parameters
Parameter | Type | Description |
---|---|---|
source | UV | The vector to compare with this vector. |
tolerance | Double | The tolerance for equality check. |
Return Value
Type | Description |
---|---|
Boolean | True if the vectors are the same; otherwise, false. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when source is. |
ArgumentException | Thrown when tolerance is less than 0. |