Aiming at the installation location measuring requirement of cone rod located at some kind of laser target for inertial confinement fusion, a non-contact five-coordinate measuring machine is exploited and built. According to the projection characteristic of spatial line, the mathematical model of spatial angle between the cone rod and support rod is established. Based on this projection method, the direction vector of cone rod centerline can be obtained by testing the cone rod from two perpendicular directions with CCD camera. LOG operator is applied to detect the edge of image. The experiments illustrate the measuring accuracy of angle can reach 0.1 degree with the projection method.