autopdex.geometry.r_disjunction
- autopdex.geometry.r_disjunction(o1, o2)[source]
Computes the logical OR operation using smooth distance functions.
- Parameters:
o1 (float) – The first operand for the logical “or” operation.
o2 (float) – The second operand for the logical “or” operation.
- Returns:
- The result of the logical “or” operation, calculated using
the formula o1 + o2 + sqrt(o1**2 + o2**2).
- Return type:
float