bundles / scipy latest / scipy / spatial / transform / _rotation / Rotation / __bool__
function
scipy.spatial.transform._rotation:Rotation.__bool__
Signature
def __bool__ ( self ) → bool Summary
Comply with Python convention for objects to be True.
Extended Summary
Required because Rotation.__len__() is defined and not always truthy.
Aliases
-
scipy.spatial.transform.Rotation.__bool__