PDA

View Full Version : Help request compare two vertices list.


bprabhakar001
2006-07-31, 10:59 AM
Dear All,

I have a situation where I'd like to know where the vertices are differed; we have two layers one is the duplicate of another one.
My Request is to be able to identify the mismatching of vertices and need to fix the error globally or manually (Markers).

Would you please suggest the logic two compare the vertices of polylines list effectively and preparing new vertices list where mismatching.
I'm about to start doing some research, but I thought if someone here has some experience with this, or can point me in the right direction, then I'd really appreciate it.

Thanking you,
Prabhakar.B

CAB2k
2006-07-31, 01:01 PM
To compare two points i use this.
(setq fuzz 0.0001)
(if (> (distance v1 v2) fuzz)
(print "Not Equal")
(print "Equal)
)