All,

I am looking for a solution to search a triangulation for the point closest to a centroid of a collection of polygons. MATLAB has functionality called dsearch. I was wondering if there was a similar.

Here is the set up vector xcoord of x-coordinates, ycoord of y coordinates, Tri, the Delaunay triangulation of those (3X3 matrix), cent_x,vector of x coordinates of the centroid of polygons, cent_y vector of y coordinates of polygons.

I want a list of the nearest neighbors (x,y) to (cent_x,cent_y) but I want to search the triangulation to find this.

I hope this makes sense. Thanks in advance.

Adrian Cartier, Ph.D. (LS3428)
Monsanto Company
TPS/Advancement Integration and Prediction
Strategic Scientist - Quantitative Modeler
800 North Lindbergh Boulevard (Mail Code: LS3A)
Creve Coeur, MO 63167

Office: 314-694-5307

This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled
to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and
all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited.

All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its
subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware".
Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying
this e-mail or any attachment.


The information contained in this email may be subject to the export control laws and regulations of the United States, potentially
including but not limited to the Export Administration Regulations (EAR) and sanctions regulations issued by the U.S. Department of
Treasury, Office of Foreign Asset Controls (OFAC).  As a recipient of this information you are obligated to comply with all
applicable U.S. export laws and regulations.

	[[alternative HTML version deleted]]

