An Novel Algorithm for Detecting Edges on Triangular Mesh