Class

CGAL::Mesh_complex_3_in_triangulation_3<Tr,CornerIndex,CurveSegmentIndex>

Definition

The class Mesh_complex_3_in_triangulation_3<Tr,CornerIndex,CurveSegmentIndex> implements a data structure to store the 3D restricted Delaunay triangulation used by a mesh generation process.

This class is a model of the concept MeshComplexWithFeatures_3InTriangulation_3.

Parameters

The template parameter Tr can be instantiated with any 3D regular triangulation of Cgal provided that its vertex and cell base class are models of the concepts MeshVertexBase_3 and MeshCellBase_3, respectively.

The template parameter CornerIndex is the type of the indices for corners and the template parameter CurveSegmentIndex is the type of the indices for curves segments. They must match the Corner_index and Curve_segment_index types of the model of the MeshDomainWithFeatures_3 concept used for mesh generation.

Those two last template parameters defaults to int, so that they can be ignored if the domain used for mesh generation does not include 0 and 1-dimensionnal features (i.e is a model of the concept MeshDomain_3).

#include <CGAL/Mesh_complex_3_in_triangulation_3.h>

Is Model for the Concepts

MeshComplexWithFeatures_3InTriangulation_3

Types

typedef Tr::Vertex::Index Index; Index type.

typedef Tr::Cell::Surface_patch_index
Surface_patch_index; Surface index type.

typedef Tr::Cell::Subdomain_index Subdomain_index; Subdomain index type.

typedef CornerIndex Corner_index; Corner_index type.

typedef CurveSegmentIndex Curve_segment_index; Curve_segment_index type.

Operations

void c3t3.output_to_medit ( std::ofstream& os)
Outputs the mesh to os in medit format.

See Also

CGAL::make_mesh_3
CGAL::refine_mesh_3
MeshComplex_3InTriangulation_3
MeshComplexWithFeatures_3InTriangulation_3
MeshCellBase_3,
MeshVertexBase_3