|
CGAL 6.3 - IO Streams
|
I/O Functions for the Medit File Format.
Functions | |
| template<class PointRange, class CellRange> | |
| bool | CGAL::IO::read_MEDIT (std::istream &is, PointRange &points, CellRange &finite_cells, std::vector< int > &subdomains, bool verbose=false) |
| reads the content of is into points and finite_cells. | |
| bool CGAL::IO::read_MEDIT | ( | std::istream & | is, |
| PointRange & | points, | ||
| CellRange & | finite_cells, | ||
| std::vector< int > & | subdomains, | ||
| bool | verbose = false ) |
#include <CGAL/IO/MEDIT.h>
reads the content of is into points and finite_cells.
See [1] for a comprehensive description of the medit (.mesh) file format.
| PointRange | a model of the concept BackInsertionSequence whose value type is the point type |
| CellRange | a model of the concept BackInsertionSequence whose value_type is std::array<int,4> |
| is | the input stream |
| points | points of the soup of cells |
| finite_cells | each element in it describes a cell using the indices of the points in points |
| subdomains | each element in it describes the subdomain index of the corresponding cell in finite_cells |
| verbose | if true, prints information about the reading process |