transform_trajectory#
- diffct.geometry.transform_trajectory(trajectory, rotation=None, translation=None, *, beam='cone')[source]#
Apply
p' = R p + tto points andd' = R dto directions.Rotation and translation can be shared or have one entry per view. All inputs must share dtype and device. Ordinary tensor operations preserve gradients to the frames and transform parameters.