Returns the transformation matrix of compound object.
Returns eOk if successful, or an appropriate error code if not.