Verifies that a matrix is the identity transformation.
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
rhinoscriptsyntax.IsXformIdentity (xform)
rhinoscript.transformation.IsXformIdentity (xform)
xform |
Required. List or Rhino.Geometry.Transform. A 4x4 transformation matrix. |
Boolean |
True or False indicating success or failure. |
import rhinoscriptsyntax as rs
xform = rs.XformIdentity()
print rs.IsXformIdentity(xform)