I am trying to write a piece of code in MapBasic that will place nodes at
the intersection of two circular regions and then delete all nodes
in-between the two intersection points.  I used the OverlayNode() Function
to create nodes at the intersection points for both regions that overlap.  I
proceed using nested For loops and the ObjectNodeX() and ObjectNodeY()
functions to determine the node number of the intersecting point.  This node
number is stored in an array variable.  I use the array to set the beginning
and ending nodes for use with the ExtractNodes() function.  However,
sometimes the array contains no intersecting points or more than two
intersecting points.  No intersections should not occur because I only
selected regions that did intersect using the Select Where objA Intersects
objB clause.  In the cases where I get more than two intersecting points, it
is because two different nodes have the same coordinates.  I didn't think
the OverlayNode() command would put nodes at a point where one already
existed.

If anyone has any suggestions on what could be causing this problem or
perhaps a better way to do what I am trying to do, please let me know.
 
Thanks in advance.

Trey Browder
Wireless Consulting Engineer
Marconi Wireless
1300 Diamond Springs Rd, Suite 600
Virginia Beach, VA 23455
Phone : 757-464-1817 Ext. 331
Fax :           757-464-2148
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 6116

Reply via email to