Arithmetic <> bug
We were try to use the Arithmetic module to filter vectors (float[3]) above and below the Z plane. Hence we used the following for the data outputs:
Above: X = Ax * (Az>0) ; Y = Ay * (Az>0) ; Z = Az * (Az>0) ;
Below: X = Ax * (Az<=0) ; Y = Ay * (Az<=0) ; Z = Az * (Az<=0) ;
We found we were at many pointers we were getting two (different) vectors.
I tested what Arithmetic was doing, the comparison operators should all return 0 or 1. So:
X = Az>0 ; Y = Az>0 ; Z = Az>0 ;
should produce only zero (0,0,0) or unit (1,1,1) vectors, however as can be seen in the attached image there are several non-unit vectors.
System is 64bit Linux, Avizo 6.1.1
|