Is Zero

Outputs a boolean indicating if all of the input values are zero within a specified tolerance.

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

Value (value)

numerics

Value(s) to check for zero.

Tolerance (tolerance)

double

How close the value must be to 0 to be considered zero.

Outputs

Name

Type

Description

Default

Result (result)

bool

If ‘value’ is a scalar then ‘result’ will be true if ‘value’ is zero. If ‘value’ is non-scalar (array, tuple, matrix, etc) then ‘result’ will be true if all of its elements/components are zero.