Houdini 20.5 Nodes APEX nodes

AlmostEquals<T>

Checks if two values are almost equal.

On this page
Since 20.0

Checks if two values are almost equal. Returns 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

Returns True if the difference between a and b is less than tolerance.

See also

APEX nodes