×

Loading...

you can create a stack. In the stack, you search the every next point and push current point of the node.

If you find the point in the stack, that is link loop in your link table. For more efficient search, you can sort the points in the stack before searching.
Report