CGAL::output_surface_facets_to_polyhedron

来源:互联网 发布:mac无u盘安装win10 编辑:程序博客网 时间:2024/05/01 05:38

转自:http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Surface_mesher_ref/Function_output_surface_facets_to_polyhedron.html#Cross_link_anchor_1497

Definition

output_surface_facets_to_polyhedron() converts a surface reconstructed bymake_surface_mesh() to aPolyhedron_3<Traits>.

#include <CGAL/IO/output_surface_facets_to_polyhedron.h>

template<classSurfaceMeshComplex_2InTriangulation_3, class Polyhedron> booloutput_surface_facets_to_polyhedron (SurfaceMeshComplex_2InTriangulation_3 c2t3,
Polyhedron& output_polyhedron)
  Gets reconstructed surface out of a SurfaceMeshComplex_2InTriangulation_3 object.
This variant exports the surface as a polyhedron. It requires the surface to be manifold. For this purpose, you may callmake_surface_mesh() withManifold_tag orManifold_with_boundary_tag parameter.Template Parameters: 
SurfaceMeshComplex_2InTriangulation_3: model of theSurfaceMeshComplex_2InTriangulation_3 concept.Polyhedron: an instance of Polyhedron_3<Traits>.Returns: true if the surface is manifold and orientable.Parameters: 
c2t3: Input surface. output_polyhedron: Output polyhedron.

See Also

CGAL::output_surface_facets_to_off