pub fn transform_coords<T>(tf: &Array<T>, d0: f32, d1: f32) -> Array<T>where
T: HasAfEnum + RealFloating,Expand description
Transform input coordinates
The transform function uses a perspective transform matrix to transform input coordinates (given as two dimensions) into a coordinates matrix.
The output is a 4x2 matrix, indicating the coordinates of the 4 bidimensional transformed points.
§Parameters
tfis the transformation matrixd0is the first input dimensiond1is the second input dimension
§Return Values
Transformed coordinates