Skip to content

Commit

Permalink
DOC: ConvertHexGridToSquareGrid Doc Updates (#1014)
Browse files Browse the repository at this point in the history
Added images for under sampling, over sampling and correct sampling.

Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson authored Jul 8, 2024
1 parent 8bc1691 commit 37e1159
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@ The use of this **Filter** is similar to the use of the {ref}`Import Orientation

![Images/ConvertHexGridToSquareGridFilter_1.png](Images/ConvertHexGridToSquareGridFilter_1.png)

## Example Output (Correct Spacing)

This image shows a reasonable conversion where the X and Y Spacing are close to the original hex grid spacing.

![Images/ConvertHexGridToSquareGrid_1.png](Images/ConvertHexGridToSquareGrid_1.png)

## Example Output (Coarse Spacing)

This image shows where the spacing is set a bit too large resulting in a more coarse sampling of the original hex grid data

![Images/ConvertHexGridToSquareGrid_2.png](Images/ConvertHexGridToSquareGrid_2.png)

## Example Output (Fine Spacing)

This image shows where the spacing is set much too fine resulting in over sampling of the hex grid and a markedly larger file.

![Images/ConvertHexGridToSquareGrid_3.png](Images/ConvertHexGridToSquareGrid_3.png)

% Auto generated parameter table will be inserted here

## Example Pipelines
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Result<> parseLine(std::fstream& inStream, const ParsersVector& dataParsers, con
{
std::string line;
std::getline(inStream, line);

line = StringUtilities::replace(line, "\r", "");
StringVector tokens = StringUtilities::split(line, delimiters, consecutiveDelimiters);
if(tokens.empty())
{
Expand Down

0 comments on commit 37e1159

Please sign in to comment.