Polyhedral-net Splines
Loading...
Searching...
No Matches
Utility

General helper utilities for mesh processing. More...

Topics

 HalfEdge Operations
 Functions for operating on half-edge data structures.
 Helper Functions
 General helper functions for mesh processing.

Classes

struct  SimpleArg
 A simple command-line argument parser. More...

Functions

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.

Detailed Description

General helper utilities for mesh processing.

Function Documentation

◆ 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_FileThe name of the embedded CSV file.
a_RowsThe number of rows in the matrix.
a_ColsThe number of columns in the matrix.
Returns
The matrix read from the CSV file.