Returns the determinant of a transformation matrix. If the determinant of a transformation matrix is 0, the matrix is said to be singular. Singular matrices do not have inverses.
rhinoscriptsyntax.XformDeterminant (xform)
rhinoscript.transformation.XformDeterminant (xform)
xform |
Required. List or Rhino.Geometry.Transform. A 4x4 transformation matrix. |
Number |
The determinant if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
xform = rs.BlockInstanceXform(obj)
if xform: print rs.XformDeterminant(xform)