j
k
j a
j l
i got good results using a column vector
......import test, numpy as np vec = np.array([1,0,0,1]) translate234 = test.CoordFrame() translate234.mat[:,3:] = [[2,3,4,1]] translate234.apply(vec) array([3., 3., 4., 1.])
...import test, numpy as np vec = np.array([1,0,0,1]) translate234 = test.CoordFrame() translate234.mat[:,3:] = [[2,3,4,1]] translate234.apply(vec) array([3., 3., 4., 1.])
import test, numpy as np vec = np.array([1,0,0,1]) translate234 = test.CoordFrame() translate234.mat[:,3:] = [[2,3,4,1]] translate234.apply(vec) array([3., 3., 4., 1.])
Back to the thread
Back to the list