Houdini 20.0 Nodes APEX Nodes

AlmostEquals<T>

Check if two values are almost equal.

On this page
Since 20.0

Return True if the input values, a and b, differ by strictly less than tolerance.

When a and b are matrix values, each component must differ by less than tolerance to be considered almost equal.

Inputs

a: Float, Matrix3, Matrix4

The first input value to compare.

b: Float, Matrix3, Matrix4

The second input value to compare.

tolerance: Float

The tolerance to use when comparing a and b.

Outputs

result: Bool

Whether the difference between a and b is less than tolerance.

See also

APEX Nodes