public Quaterniond toQuaternion(Vector3d axis) {
        return toQuaternion(axis.getX(), axis.getY(), axis.getZ());
    }
public Quaterniond toQuaternion(Vector3d axis) {
        return toQuaternion(axis.getX(), axis.getY(), axis.getZ());
    }
public Quaterniond toQuaternion ( Vector3d axis ) { return toQuaternion ( axis . getX ( ) , axis . getY ( ) , axis . getZ ( ) ) ; }
Converts this complex to a quaternion by
using the provided vector as a rotation axis.

@param axis The rotation axis
@return A quaternion of this rotation around the given axis
Converts this complex to a quaternion by using the provided vector as a rotation axis .