build/module/lib/atoms/numVerticesForGrid.js
/**
 * Computes the number of vertices required to construct a grid.
 * @hidden
 */
Computes the number of vertices required to construct a grid.
@hidden
Computes the number of vertices required to construct a grid . @hidden
function numVerticesForGrid(uSegments, vSegments) {
    mustBeInteger('uSegments', uSegments);
    mustBeInteger('vSegments', vSegments);
    return (uSegments + 1) * (vSegments + 1);
}
function numVerticesForGrid ( uSegments , vSegments ) { mustBeInteger ( 'uSegments' , uSegments ) ; mustBeInteger ( 'vSegments' , vSegments ) ; return ( uSegments + 1 ) * ( vSegments + 1 ) ; }
Computes the number of vertices required to construct a grid.
Computes the number of vertices required to construct a grid .