CGAL 6.1.1 - 3D Periodic Mesh Generation

Loading...
Searching...
No Matches
Functions
Input/Output Functions
Reference Manual

##

The free functions that can be used to read and write periodic meshes.

## Functions
template<class C3T3 >
void | CGAL::output_periodic_mesh_to_medit (std::ostream &os, const C3T3 &c3t3, int occurrence_count=8, bool distinguish_copies=true, bool rebind=false, bool show_patches=false)
| outputs a periodic mesh to the medit (`.mesh`) file format.

## Function Documentation

## ◆ output_periodic_mesh_to_medit()

template<class C3T3 >

void CGAL::output_periodic_mesh_to_medit | ( | std::ostream & | os,
|  | const C3T3 & | c3t3,
|  | int | occurrence_count = `8`,
|  | bool | distinguish_copies = `true`,
|  | bool | rebind = `false`,
|  | bool | show_patches = `false`
| ) |  |

`#include <CGAL/Periodic_3_mesh_3/IO/File_medit.h>`

outputs a periodic mesh to the medit (`.mesh`) file format.

See [5] for a comprehensive description of this file format.

Parameters

  os | the output stream
  c3t3 | the mesh complex
  occurrence_count | the number of copies that are drawn
  distinguish_copies | if set to `true`, each copy is assigned a unique color. Otherwise, all domains are drawn with subdomain index-based colors.
  rebind | if set to `true`, labels of cells are rebinded into `[1..nb_of_labels]`
  show_patches | if set to `true`, patches are labeled with different labels than cells. If `false`, each surface facet is written twice, using the label of each adjacent cell.