hexagon logo

.ALL extension

Check this out. I was pleasantly surprised that PCDMIS was able to crunch this. Notice that the formula refers to four different feature extensions but only one extension is declared for each argument.

ASSIGN/2DDISTDEV = FUNCTION((FEATURE1,FEATURE2),ABS(SQRT((FEATURE1.TX-FEATURE2.TX)^2+(FEATURE1.TY-FEATURE2.TY)^2)-SQRT((FEATURE1.X-FEATURE2.X)^2+(FEATURE1.Y-FEATURE2.Y)^2)))
ASSIGN/DIST_1 = 2DDISTDEV(CYL1.ALL,CYL2.ALL)
ASSIGN/DIST_2 = 2DDISTDEV(CYL2.ALL,CYL3.ALL)
ASSIGN/DIST_3 = 2DDISTDEV(CYL1.ALL,CYL3.ALL)
Parents Reply Children
No Data