UV.IsAlmostEqualTo
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.
Overloads (2):
IsAlmostEqualTo(UV,Double)
public bool IsAlmostEqualTo(
UV source,
double tolerance
)
-
sourceThe vector to compare with this vector.
-
DoubletoleranceThe tolerance for equality check.
Return Value
bool
True if the vectors are the same; otherwise, false.
-
Thrown when source isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when tolerance is less than 0.