Vizard 7 » Command Index » Vizard objects » transform » <transform>.equal
7.6

<transform>.equal

Returns whether this transform is equal to another transform

<transform>.equal(  
other  
)  
other
Transform object

Remarks

This command will return whether the transform is equal to the specified transform.

Return Value

True/False

Example

X1 = vizmat.Transform()
X2 = vizmat.Transform()
if X1.equal(X2):
    print('Transforms are equal')
else:
    print('Transforms are not equal')