vchgpt.sml
# vchgpnt.sml
clear();
vector V;
array numeric xPoints[10], yPoints[10];
numeric numPoints, pointNum;
GetOutputVector(V, "VectorToolkit");
numPoints = NumVectorPoints(V);
print("number of points: ", numPoints);
# add some points
VectorAddPoint(V, 10, 10);
VectorAddPoint(V, 35, 35);
VectorAddPoint(V, 50, 50);
numPoints = NumVectorPoints(V);
print("number of points: ", numPoints);
# now change the second point
pointNum = 2;
VectorChangePoint(V, pointNum, 25, 25);
©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
|