General helper utilities for mesh processing.
More...
|
| Matrix | read_csv_as_matrix (const std::string &a_File, const int a_Rows, const int a_Cols) |
| | Read a CSV file embedded in the binary as a Matrix. For the mask of patch types.
|
General helper utilities for mesh processing.
◆ read_csv_as_matrix()
| Matrix read_csv_as_matrix |
( |
const std::string & | a_File, |
|
|
const int | a_Rows, |
|
|
const int | a_Cols ) |
Read a CSV file embedded in the binary as a Matrix. For the mask of patch types.
- Parameters
-
| a_File | The name of the embedded CSV file. |
| a_Rows | The number of rows in the matrix. |
| a_Cols | The number of columns in the matrix. |
- Returns
- The matrix read from the CSV file.