warp.transform_vector#
- warp.transform_vector(
- xform: Transformation[Float],
- vec: Vector[3, Float],
Kernel
Differentiable
Apply the transform to a vector
vectreating the homogeneous coordinate as w=0 (rotation only).
- warp.transform_vector(
- mat: Matrix[4, 4, Float],
- vec: Vector[3, Float],
Kernel
Differentiable
Apply the transform to a vector
vectreating the homogeneous coordinate as w=0.The transformation is applied treating
vecas a column vector, e.g.:y = mat*vec.This is in contrast to some libraries, notably USD, which applies transforms to row vectors,
y^T = vec^T*mat^T. If the transform is coming from a library that uses row-vectors, then users should transpose the transformation matrix before calling this method.