attribwrangle1内コード
vector targ_pos = minpos(1,@P);
v@minpos_v = targ_pos-@P;
int pid = addpoint(0, targ_pos);
addprim(0,”polyline”, @ptnum, pid);
addprimについて
int addprim(int geohandle, string type, int pt0, int pt1)
int addprim(int geohandle, string type, int pt0, int pt1, int pt2, int pt3)
int addprim(int geohandle, string type, int points[])
…
types:: “poly”, “polyline”,……
minposを使ったSample