Hi,
How would you construct a generic line from 2 generic points, correctly oriented ? (from point 1 to point 2)
I'm scanning an hexagonal part to find the closest point to its centre.
AFFECTER/V1=SCN2.HIT[1..SCN2.NUMHITS].XYZ*MPOINT(1,1,0)
AFFECTER/V2=MININDEX(SQRT(DOT(V1,V1)))
AFFECTER/V3=SCN2.HIT[V2].XYZ => generic point 2
AFFECTER/V4=SCN2.XYZ*MPOINT(0,0,1) => generic point 1 (center)
AFFECTER/VECT_1=UNIT(V3-V4) => I tried UNIT(V4-V3) but there is no incidence ???????
It's funny because I've never seen this before. The alignment was randomly misoriented according to X+ or X-, but it had never reset coordinates.
And now that the alignment is correct, it now randomly reset coordinates
It's funny because I've never seen this before. The alignment was randomly misoriented according to X+ or X-, but it had never reset coordinates.
And now that the alignment is correct, it now randomly reset coordinates