build/module/lib/atoms/GridPoints.js
/**
 * Computes the vertex index from integer coordinates.
 * Both lengths are included for symmetry!
 * @hidden
 */
Computes the vertex index from integer coordinates.
Both lengths are included for symmetry.
@hidden
Computes the vertex index from integer coordinates . Both lengths are included for symmetry . @hidden
function vertexIndex(i, j, iLength, jLength) {
    mustBeInteger('iLength', iLength);
    mustBeInteger('jLength', jLength);
    return j * iLength + i;
}
function vertexIndex ( i , j , iLength , jLength ) { mustBeInteger ( 'iLength' , iLength ) ; mustBeInteger ( 'jLength' , jLength ) ; return j * iLength + i ; }
Computes the vertex index from integer coordinates.
Computes the vertex index from integer coordinates .