The longest segment that can be drawn is a "diagonal" connecting two opposite "corners" at the top and bottom.
This is similar to finding the length of a diagonal of a rectangle using the Pytagoren Theorem. However, this distance is in 3-space and is given by:
d =√(152 + 82 + 72) = √338 = √(169 * 2) = 13√2 cm.
