Share

Transform.AlmostEqual 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: 26.2.0.0 (26.2.0.0)

Syntax

C#

public bool AlmostEqual(
	Transform right
)

Parameters

right  Transform
The transformation to compare with this transformation.

Return Value

Boolean
True if the two transformations are equal; otherwise, false.

Exceptions

ExceptionCondition
ArgumentNullException Thrown when the specified transformation is null.

Remarks

The tolerance is applied memberwise for comparison.

See Also

Reference

Was this information helpful?