CGAL 6.1.2 - 3D Constrained Triangulations

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

##

## Functions
template<typename Traits , typename Tr , typename NamedParameters = parameters::Default_named_parameters>
void | CGAL::IO::write_MEDIT (std::ostream &os, const Conforming_constrained_Delaunay_triangulation_3< Traits, Tr > &ccdt, const NamedParameters &np=parameters::default_values())
| outputs a conforming constrained Delaunay triangulation to the MEDIT (`.mesh`) file format.

## Function Documentation

## ◆ write_MEDIT()

template<typename Traits , typename Tr , typename NamedParameters = parameters::Default_named_parameters>

void CGAL::IO::write_MEDIT | ( | std::ostream & | os,
|  | const Conforming_constrained_Delaunay_triangulation_3< Traits, Tr > & | ccdt,
|  | const NamedParameters & | np = `parameters::default_values()`
| ) |  |

`#include <CGAL/IO/write_MEDIT.h>`

outputs a conforming constrained Delaunay triangulation to the MEDIT (`.mesh`) file format.

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

Parameters

  os | the output stream
  ccdt | the conforming constrained Delaunay triangulation to be written
  np | an optional sequence of Named Parameters among the ones listed below

Optional Named Parameters

  a Boolean activating the numbering of PLC face identifiers in the output. If `ccdt` was constructed with the `plc_face_id` property map given as a named parameter, and this parameter is set to `true`, the output will contain the corresponding patch identifier for each facet of the triangulation. If this parameter is set to `false`, the output will not contain any patch identifier. If `ccdt` was not constructed with the `plc_face_id` property map, and this parameter is set to `true`, the output will contain a patch identifier for each facet of the triangulation. Type: Boolean Default: `false` |

See also
  Medit File Format