Parameters
double
x
The x component.
double
y
The y component.
double
z
The z component.
double
tolerance
The allowed deviation from 1 for the L2-norm of x,y,z