Coordinates to index conversion
The indices of each block represent its position in the model, indicating in which column, line, and level (IX, IY, and IZ) it is.
The indices must be integer values, starting with any value (for Marvin model, it was adopted the indices 1,1,1 for the first block).
The model’s origin must be placed at the bottom portion, starting to count from the minimum coordinates at X, Y, and Z.
Figure 1 highlights the origin of the Marvin block model and the first block index coordinates (1,1,1).
Figure 1: Block’s Matrix.
However, if the block model contains geo-referenced information based on coordinates, they could be converted into indices before being imported to MiningMath.
To perform this conversion, check the following demonstration on how to convert coordinates into indices using data from Figure 2 and the equation from Figure 3.
Figure 2: Sample data to convert coordinates into indices.
Figure 3 exemplifies using the X-axis but the process is the same for Y and Z axes by just using the corresponding information.
Figure 3: Equation to convert coordinates into indexes.
Figure 4: Resultant coordinates converted to indexes.
The video below exemplifies the conversion process in case you have any doubts.
Video 1: How to convert block coordinates into block indices.