AlmostEqual Method


Transform 2D Almost Equal Method

Determines whether this transformation and the specified transformation are the same within the tolerance (1.0e-09).

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool AlmostEqual(
	Transform2D right
)

Parameters

right Transform2D
The transformation to compare with this transformation.

Return Value

Boolean
True if the two transformations are equal, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
The tolerance is applied memberwise for comparison.
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 →