Class Modulos.Zero

    • Method Detail

      • getCellPos

        public final int[] getCellPos​(int cellOrdinal)
        Description copied from interface: Modulos
        Converts a cell ordinal to a set of cell coordinates. Converse of Modulos.getCellOrdinal(int[]). For example, if this result is 10 x 10 x 10, then cell ordinal 537 has coordinates (5, 3, 7).
        Specified by:
        getCellPos in interface Modulos
        Specified by:
        getCellPos in class Modulos.Base
        Parameters:
        cellOrdinal - Cell ordinal
        Returns:
        cell coordinates