Computes the modulus of the CM vector
The Centre of Mass vector starts from the tree base and points towards the CM. Its modulus is the distance between the CM (x, y, z) and tree base (0, 0, 0).
an object of
a real number
This function is mainly needed to compute the moment of the tree. The CM modulus is the tree moment arm.
1 2 3 4 5 6 7 8 9 10