RVTDocs.com
Namespace: Autodesk.Revit.DB Class: UV

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.
Syntax
public bool IsAlmostEqualTo(
	UV source,
	double 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.