CGAL 5.5.2 - 3D Mesh Generation
CGAL::Polyhedral_mesh_domain_3< Polyhedron, IGT, TriangleAccessor > Class Template Reference

#include <CGAL/Polyhedral_mesh_domain_3.h>

Definition

The class Polyhedral_mesh_domain_3 implements a domain defined by a simplicial polyhedral surface.

The input polyhedral surface must be free of intersection. It must include (at least) one closed connected component that defines the boundary of the domain to be meshed. Inside this bounding component, the input polyhedral surface may contain several other components (closed or not) that will be represented in the final mesh. This class is a model of the concept MeshDomain_3.

Template Parameters
Polyhedronstands for the type of the input polyhedral surface(s), model of FaceListGraph.
IGTstands for a geometric traits class providing the types and functors required to implement the intersection tests and intersection computations for polyhedral boundary surfaces. This parameter has to be instantiated with a model of the concept IntersectionGeometricTraits_3.
Is Model Of:
MeshDomain_3
See also
IntersectionGeometricTraits_3
CGAL::make_mesh_3().
Examples:
Mesh_3/mesh_hybrid_mesh_domain.cpp, and Mesh_3/mesh_polyhedral_domain.cpp.

Creation

 Polyhedral_mesh_domain_3 (const Polyhedron &bounding_polyhedron)
 Construction from a bouding polyhedral surface which must be closed, and free of intersections. More...
 
 Polyhedral_mesh_domain_3 (const Polyhedron &polyhedron, const Polyhedron &bounding_polyhedron)
 Construction from a polyhedral surface, and a bounding polyhedral surface,. More...
 

Constructor & Destructor Documentation

◆ Polyhedral_mesh_domain_3() [1/2]

template<typename Polyhedron, typename IGT, typename TriangleAccessor>
CGAL::Polyhedral_mesh_domain_3< Polyhedron, IGT, TriangleAccessor >::Polyhedral_mesh_domain_3 ( const Polyhedron &  bounding_polyhedron)

Construction from a bouding polyhedral surface which must be closed, and free of intersections.

The inside of bounding_polyhedron will be meshed.

◆ Polyhedral_mesh_domain_3() [2/2]

template<typename Polyhedron, typename IGT, typename TriangleAccessor>
CGAL::Polyhedral_mesh_domain_3< Polyhedron, IGT, TriangleAccessor >::Polyhedral_mesh_domain_3 ( const Polyhedron &  polyhedron,
const Polyhedron &  bounding_polyhedron 
)

Construction from a polyhedral surface, and a bounding polyhedral surface,.

The first polyhedron must be entirely included inside bounding_polyhedron, which must be closed and free of intersections. Using this constructor allows to mesh a polyhedral surface which is not closed, or has holes. The inside of bounding_polyhedron will be meshed.