Three-coordinate measuring machine