Principle of three-coordinate measurement