IsAlmostEqualTo Method (UV, Double)


UV Is Almost Equal To(UV, Double) Method

Determines whether this 2-D vector and the specified 2-D vector are the same within a specified tolerance.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsAlmostEqualTo(
	UV source,
	double tolerance
)

Parameters

source UV
The vector to compare with this vector.
tolerance Double
The tolerance for equality check.

Return Value

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.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →