I am measuring a feature that is somewhat round but has lot of jagged edges. I want to use all of the areas to calculate the area. I am measuring this using hundreds of points. Anyone have any ideas ? I have searched for answers but can't seem to come up with any.
From
DaSalo idea :
V3 / Loop from 1 to CIRC1.NUMHITS
ASSIGN/V4=V3
If V3=CIRC1.NUMHITS
ASSIGN/V4=0
END IF
ASSIGN/V1=CIRC1.HIT[V3].XYZ-CIRC1.XYZ
ASSIGN/V2=CIRC1.HIT[V4+1].XYZ-CIRC1.XYZ
ASSIGN/P_VECT=CROSS(V1,V2)*SQRT(DOT(V1,V1))*SQRT(DOT(V2,V 2))*SIN(DEG2RAD(ANGLEBETWEEN(V1,V2)))
ASSIGN/SURFACE[V3]=SQRT(DOT(P_VECT,P_VECT))/2
Loop/end
From
DaSalo idea :
V3 / Loop from 1 to CIRC1.NUMHITS
ASSIGN/V4=V3
If V3=CIRC1.NUMHITS
ASSIGN/V4=0
END IF
ASSIGN/V1=CIRC1.HIT[V3].XYZ-CIRC1.XYZ
ASSIGN/V2=CIRC1.HIT[V4+1].XYZ-CIRC1.XYZ
ASSIGN/P_VECT=CROSS(V1,V2)*SQRT(DOT(V1,V1))*SQRT(DOT(V2,V 2))*SIN(DEG2RAD(ANGLEBETWEEN(V1,V2)))
ASSIGN/SURFACE[V3]=SQRT(DOT(P_VECT,P_VECT))/2
Loop/end