I/O Functions for the Medit File Format.
|
| 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.
|
◆ read_MEDIT()
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 ) |
#include <CGAL/IO/MEDIT.h>
reads the content of is into points and finite_cells.
- Attention
- The cell soup is not cleared, and the data from the stream are appended.
- Template Parameters
-
- Parameters
-
| 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 |
- Returns
- true if the reading was successful, false otherwise.