Skip to main content
API Reference com.nianticspatial.nsdk.utils ImageMath

logMatrix

Logs the contents of this [Matrix] as a 3×3 matrix. The matrix values are printed in row-major order, as used internally by [android.graphics.Matrix]. Useful for debugging transformations like scale, rotation, skew, and perspective.

Declaration

fun Matrix.logMatrix(tag: String = "Matrix", label: String = "Matrix")

Summary

Logs the contents of this [Matrix] as a 3×3 matrix. The matrix values are printed in row-major order, as used internally by [android.graphics.Matrix]. Useful for debugging transformations like scale, rotation, skew, and perspective.


ON THIS PAGE