Compares two transformation matrices.
rhinoscriptsyntax.XformCompare (xform1, xform2)
rhinoscript.transformation.XformCompare (xform1, xform2)
xform1 |
Required. List or Rhino.Geometry.Transform. The first 4x4 transformation matrix to compare. |
xform2 |
Required. List or Rhino.Geometry.Transform. The second 4x4 transformation matrix to compare. |
-1 |
If xform1 is less than xform2. |
0 |
If xform1 is equal to xform2. |
1 |
If xform1 is greater than xform2. |
None |
On error. |
import rhinoscriptsyntax as rs
xform0 = rs.XformZero()
xform1 = rs.XformIdentity()
print rs.XformCompare(xform0, xform1)