|
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. | |
| template<class PointRange, class CellRange> | |
| bool | CGAL::IO::write_MEDIT (std::ostream &os, const PointRange &points, const CellRange &finite_cells, const std::vector< int > &subdomains) |
| writes the 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 |
| bool CGAL::IO::write_MEDIT | ( | std::ostream & | os, |
| const PointRange & | points, | ||
| const CellRange & | finite_cells, | ||
| const std::vector< int > & | subdomains ) |
#include <CGAL/IO/MEDIT.h>
writes the points and finite_cells.
See [1] for a comprehensive description of the medit (.mesh) file format.
| PointRange | a model of the concept RandomAccessContainer whose value type is the point type |
| CellRange | a model of the concept RandomAccessContainer whose value_type is a model of the concept RandomAccessContainer whose value_type is std::size_t. |
| os | the output 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 |