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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →