Share

UV.IsAlmostEqualTo(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: 26.1.0.0 (26.1.0.34)

Syntax

C#

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

ExceptionCondition
ArgumentNullException Thrown when source is nullptr.
ArgumentException Thrown when tolerance is less than 0.

See Also

Reference

Was this information helpful?