Study on a masuring method of three-dimensional position and orientation of a moving object