Concatenate Rigid Transform.
(self, other, dim=0)
| 25 | return RigidTransform(self.t.squeeze(dim), self.R.squeeze(dim)) |
| 26 | |
| 27 | def concatenate(self, other, dim=0): |
| 28 | """Concatenate Rigid Transform.""" |
| 29 | return RigidTransform( |
| 30 | torch.cat([self.t, other.t], dim=dim), |
| 31 | torch.cat([self.R, other.R], dim=dim), |
| 32 | ) |
| 33 | |
| 34 | |
| 35 | def get_frame_matrix( |
no test coverage detected