Finding the edges of the surfaces of three-dimensional curved objects by computer