|
TNTmips Downloads Menu

|
find_poly_test.sml
$warnings 3 # Set warning level 3
clear();
vector Vpoly;
GetInputVector(Vpoly);
numeric i;
for i = 1 to 10
{
print("element #", Vpoly.poly.Internal[@i].ElemNum);
numeric x = Vpoly.poly.POLYSTATS[@i].PointInPolyX;
numeric y = Vpoly.poly.POLYSTATS[@i].PointInPolyY;
print("closest poly #", FindClosestPoly(Vpoly, x, y));
}
©MicroImages, Inc. 2013 Published in the United States of America
11th Floor - Sharp Tower, 206 South 13th Street, Lincoln NE 68508-2010 USA
Business & Sales: (402)477-9554 Support: (402)477-9562 Fax: (402)477-9559
Business info@microimages.com
Support support@microimages.com
Web webmaster@microimages.com
| |