'Extends QMatrix4x4.map() to allow mapping (3, ...) arrays of coordinates'

def map(self, obj):

    if (isinstance(obj, np.ndarray) and (obj.ndim >= 2) and (obj.shape[0] in (2, 3))):
        return fn.transformCoordinates(self, obj)
    else:
        return QtGui.QMatrix4x4.map(self, obj)
