def transform(self, T, x, y, z):
        """Transform the coordinates with matrix T.
        Args:
            T (np.ndarray): Transformation matrix.
            x(float): Coordinate in x axis.
            y(float): Coordinate in y axis.
            z(float): Coordinate in z axis.
        Returns:
            list: Coordinates after transformation.
        """
        pt_bef = np.array([x, y, z, 1.0]).reshape(4, 1)
        pt_aft = np.matmul(T, pt_bef)
        return pt_aft[:3].flatten().tolist()
Transform the coordinates with matrix T.
        Args:
            T (np.ndarray): Transformation matrix.
            x(float): Coordinate in x axis.
            y(float): Coordinate in y axis.
            z(float): Coordinate in z axis.
        Returns:
            list: Coordinates after transformation.
        
projects/mmdet3d_plugin/core/evaluation/kitti2waymo.py