The major overhaul MI made of the object handling routines for verion 5.5
has open new ways to handle some topological issues that are fascinating.
Here are two hints; I expect there are more, and that other functions will
also yield some treasures.

If o is the object of interest (could be selection.obj), and oo an object
variable, then if oo=overlaynodes(o,o), we can compare the numbers of
sections of o and oo, and their numbers of nodes:
        if numbers of sections are different (it would be oo number > o), the pline
is folded over itself, with may be a simple spike.
        if numbers of nodes are different (it would be oo number < o), there are
duplicated nodes in o, and oo is cleaned up

I would guess that given the much greater efficiency of built in graphic
functions compared to MB coded routines, any application dealing with
topological editing will be much more efficient using this overlaynodes()
than going through each node individually as done in earlier applications.


I suspect that there are other occurences of unexpected bonuses from the 5.5
upgrade. I would love to learn about your discoveries.

Thank you in advance for sharing.

Jacques Paris
============================================================
e-mail        [EMAIL PROTECTED]
   alternate   [EMAIL PROTECTED]

gis activity (MapInfo mainly)
      http://www.total.net/~rparis/gisproducts.htm
============================================================

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to