IsXformIdentity

Verifies that a matrix is the identity transformation.

 

1

0

0

0

0

1

0

0

0

0

1

0

0

0

0

1

Syntax

rhinoscriptsyntax.IsXformIdentity (xform)

rhinoscript.transformation.IsXformIdentity (xform)

Parameters

xform

Required.  List or Rhino.Geometry.Transform.  A 4x4 transformation matrix.

Returns

Boolean

True or False indicating success or failure.

Example

import rhinoscriptsyntax as rs

xform = rs.XformIdentity()

print rs.IsXformIdentity(xform)

Also See

IsXformSimilarity

IsXformZero

XformIdentity