template<typename CoefficientType>
class CGAL::HDVF::Duality_simplicial_complex_tools< CoefficientType >
The class Duality_simplicial_complex_tools is dedicated to Alexander duality for 3D surface meshes.
Starting from a simplicial chain complex (encoding a 3D surface mesh), it provides methods to embed the complex into a larger icosphere and generate a 3D constrained Delaunay triangulation.
Technically, starting from a Simplicial_chain_complex _K, the method simp_complex_bb builds a Simplicial_chain_complex L and a Sub_chain_complex_mask K.
- Template Parameters
-
| CoefficientType | a model of the Ring concept providing the ring used to compute homology. |
- Examples
- HDVF/main_dual_hdvf.cpp.
template<typename CoefficientType >
Generates a subcomplex \(K\)K and a complex \(L\) with \(K\subseteq L\) from a simplicial complex _K.
_K is embedded into a larger icosphere and a 3D constrained Delaunay triangulation is generated. Then \(K\), \(L\) and vertices coordinates are extracted and stored in a TripleRes structure.
The following figures shows the resulting complex with an initial Twirl mesh (right - sectional view):

- Parameters
-
| [in] | _K | Simplicial chain complex (working mesh). |
| [in] | BB_ratio | Ratio of the "closing" icosphere diameter with respect to the diameter of the object's bounding box. |
| [in] | out_file_prefix | Prefix of tetgen intermediate files (default: "file_K_closed.off"). |