Your Products have been synced, click here to refresh
DO/ $$ NO, a= abs((Ax(By-Cy)+Bx(Cy-Ay)+Cx(Ay-By))/2) find area ASSIGN/COUNTER=COUNTER+1 ASSIGN/V1=PRF1.NUMHITS ASSIGN/AX=PRF1.HIT[COUNTER].X ASSIGN/AY=PRF1.HIT[COUNTER].Y ASSIGN/BX=PRF1.HIT[COUNTER+1].X ASSIGN/BY=PRF1.HIT[COUNTER+1].Y ASSIGN/CY=MAINPT.Y ASSIGN/CX=MAINPT.X ASSIGN/AREA1CALC=ABS((AX(BY-CY)+BX(CY-AY)+CX(AY-BY))/2) ASSIGN/AREA1[COUNTER]=AREA1[COUNTER-1]+AREA1CALC[COUNTER] COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, AREA1CALC UNTIL/(COUNTER+1) == PRF1.NUMHITS COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, AREA1[COUNTER]
DO/ $$ NO, a= abs((Ax(By-Cy)+Bx(Cy-Ay)+Cx(Ay-By))/2) find area ASSIGN/COUNTER=COUNTER+1 ASSIGN/V1=PRF1.NUMHITS ASSIGN/AX=PRF1.HIT[COUNTER].X ASSIGN/AY=PRF1.HIT[COUNTER].Y ASSIGN/BX=PRF1.HIT[COUNTER+1].X ASSIGN/BY=PRF1.HIT[COUNTER+1].Y ASSIGN/CY=MAINPT.Y ASSIGN/CX=MAINPT.X ASSIGN/AREA1CALC=ABS((AX(BY-CY)+BX(CY-AY)+CX(AY-BY))/2) ASSIGN/AREA1[COUNTER]=AREA1[COUNTER-1]+AREA1CALC[COUNTER] COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, AREA1CALC UNTIL/(COUNTER+1) == PRF1.NUMHITS COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, AREA1[COUNTER]
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |