IndigoObject.prototype.alignAtoms = function()

in indigo.js [384:391]


IndigoObject.prototype.alignAtoms = function(atoms, xyz) {
    this.d._setSessionId();
    if (atoms.length * 3 != xyz.length) {
        throw new IndigoException("alignAtoms(): xyz[] must be exactly 3 times bigger than atoms[]");
    }

    return this.d._checkResultFloat(this.d._lib.indigoAlignAtoms(this.id, atoms.length, atoms, xyz));
};