1. An optical data processing device comprising: processing circuitry configured to: extract at least three three-dimensional edges that extend in a specific and same direction from a first three-dimensional model, as a first group of three-dimensional edges, and for extracting at least three three-dimensional edges that extend in the specific and same direction from a second three-dimensional model, as a second group of three-dimensional edges, specify a relative position against other plural three-dimensional edges in each of the first group of three-dimensional edges and a relative position against other plural three-dimensional edges in each of the second group of three-dimensional edges, calculate a similarity between the relative position in each of the first group of three-dimensional edges and the relative position in each of the second group of three-dimensional edges, and select one edge in the second group of three-dimensional edges corresponding to one edge in the first group of three-dimensional edges based on the similarity, wherein each relative position is specified based on a distance between a target three-dimensional edge and a respective of the other plural three-dimensional edges and an angle direction of the respective of the other plural three-dimensional edges viewed from the target three-dimensional edge, and wherein each relative position is defined by a combination of multiple vectors in which a specific three-dimensional edge and other multiple three-dimensional edges are connected.