+ implement rich compare protocol of Python interface for Placement & Rotation

This commit is contained in:
wmayer
2016-05-18 11:26:27 +02:00
parent e61c8b46dc
commit c3c11a9b81
4 changed files with 81 additions and 17 deletions

View File

@@ -10,6 +10,7 @@
Namespace="Base"
Constructor="true"
Delete="true"
RichCompare="true"
FatherNamespace="Base">
<Documentation>
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
@@ -59,7 +60,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isNull" Const="true">
<Methode Name="isNull" Const="true">
<Documentation>
<UserDocu>
isNull() -> Bool
@@ -67,7 +68,7 @@
</UserDocu>
</Documentation>
</Methode>
<Attribute Name="Q" ReadOnly="false">
<Attribute Name="Q" ReadOnly="false">
<Documentation>
<UserDocu>The rotation elements (as quaternion)</UserDocu>
</Documentation>