Distance2

Address of the float variable to be updated with the distance of the ruler object. For cross products and protractors, which have two rulers, this variable will be updated with the length of the secondary ruler.

In C++, declare the variable and pass its address. In most other languages, pass the variable by reference.