{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Class: CellIJKIterator","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d"},"children":["geotoolkit3d"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8"},"children":["data"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#reservoir"},"children":["reservoir"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#hexahedral"},"children":["hexahedral"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#voxel"},"children":["voxel"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#cellijkiterator"},"children":["CellIJKIterator"]}," / CellIJKIterator"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"class-cellijkiterator","__idx":0},"children":["Class: CellIJKIterator"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#voxel"},"children":["voxel"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#cellijkiterator"},"children":["CellIJKIterator"]},".CellIJKIterator"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Iterator to iterate over each cell IJK indices in a voxel grid."," ","Because grid can contain million of cells, this iterator cannot fully implement geotoolkit/util/iterator"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Constructors"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["[new CellIJKIterator(iCount, jCount, kCount)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator.md#new cellijkiterator(icount, jcount, kcount))"]}]}]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Methods"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"getClassName"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator#getclassname"},"children":["getClassName"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"hasNext"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator#hasnext"},"children":["hasNext"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"next"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator#next"},"children":["next"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator#reset"},"children":["reset"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator#getclassname-1"},"children":["getClassName"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Constructors"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"new-cellijkiteratoricount-jcount-kcount","__idx":3},"children":["new CellIJKIterator(iCount, jCount, kCount)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["new CellIJKIterator"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iCount"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jCount"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["kCount"]},")"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Constructor"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters","__idx":4},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"Name"},"children":["Name "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"Type"},"children":["Type "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"50%","data-label":"Description"},"children":["Description "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["the grid size on the I axis."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["the grid size on the J axis."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["kCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["the grid size on the K axis."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Methods"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"getclassname","__idx":5},"children":["getClassName"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getClassName"]},"(): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns","__idx":6},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"hasnext","__idx":7},"children":["hasNext"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["hasNext"]},"(): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns true if the iterator has another cell to iterate on."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-1","__idx":8},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["true if the iterator has another cell to iterate on."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"next","__idx":9},"children":["next"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["next"]},"(): ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#cellijkiterator#cellindices"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CellIndices"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Iterate over the next cell, and provide the cell indices. The absolute index is a unique index number allocated"," ","to each cell, start from 0 and goes up to sizeI * sizeJ * sizeK.<br>"," ","Please note this iterator might provide indices for cells with nullvalues/NaN values, please verify the value for the resulting cell."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-2","__idx":10},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit3d.data-8#cellijkiterator#cellindices"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CellIndices"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["the Cell IJK indices"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"reset","__idx":11},"children":["reset"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["reset"]},"(): ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CellIJKIterator"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reset this iterator back to the first cell."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-3","__idx":12},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CellIJKIterator"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"getclassname-1","__idx":13},"children":["getClassName"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Static"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getClassName"]},"(): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-4","__idx":14},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]}]},"headings":[{"value":"Class: CellIJKIterator","id":"class-cellijkiterator","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"new CellIJKIterator(iCount, jCount, kCount)","id":"new-cellijkiteratoricount-jcount-kcount","depth":4},{"value":"Parameters","id":"parameters","depth":4},{"value":"getClassName","id":"getclassname","depth":4},{"value":"Returns","id":"returns","depth":4},{"value":"hasNext","id":"hasnext","depth":4},{"value":"Returns","id":"returns-1","depth":4},{"value":"next","id":"next","depth":4},{"value":"Returns","id":"returns-2","depth":4},{"value":"reset","id":"reset","depth":4},{"value":"Returns","id":"returns-3","depth":4},{"value":"getClassName","id":"getclassname-1","depth":4},{"value":"Returns","id":"returns-4","depth":4}],"frontmatter":{"seo":{"title":"Class: CellIJKIterator"}},"lastModified":"2026-10-22T14:32:05.425Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit3d.data-8.reservoir-1.hexahedral.voxel.cellijkiterator.cellijkiterator","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}