math.choose
Syntax
Get a value based on the boolean value b.
If b is true, then return a1. If :bool:`b is false, then return a2.
a - either a1 or a2.
b - Value that determines if a1 or a2 is chosen. a1 - Value returned if b is true. a2 - Value returned if b is false.
math.ceiling
math.closest.segment.point
9.2.16