ZeroToOne Type
A type to represent the result of testing if a float is close to zero, close to one or in between. A number is close to 1.0 by maximum 6 steps of float increment or decrement. So between 0.99999964 and 1.000000715. Same step size for zero. This can be used for clamping the domain on a line.
Union cases
Union case |
Description
|
Full Usage:
Between
|
|
Full Usage:
One
|
|
Full Usage:
Outside
|
|
Full Usage:
Zero
|
|
Instance members
Instance member |
Description
|
Full Usage:
this.IsBetween
Returns: bool
|
|
Full Usage:
this.IsOne
Returns: bool
|
|
Full Usage:
this.IsOutside
Returns: bool
|
|
Full Usage:
this.IsZero
Returns: bool
|
|