Regular API function

simMultiplyVector / sim.multiplyVector

Description Multiplies a vector with a pose or a matrix (e.g. v=m*v). See also the section about positions, orientations and transformations
C/C++
synopsis
See simTransformVector
C/C++
parameters
C/C++
return value
Lua
synopsis
float[3*n] resultVector=sim.multiplyVector(float[7]/float[12] pose/matrix,float[3*n] vector)
Lua
parameters
pose/matrix: a pose or a transformation matrix
vector: the original vector: a table containing 3*n values. Each triplet represents one vector to be multiplied.
Lua
return values
resultVector: the result vector: a table containing 3*n values. Each triplet represents one vector.
Python
synopsis
list resultVector=sim.multiplyVector(list pose/matrix,list vector)