CGAL 4.5.2 - 3D Surface Mesh Generation
|
Enumerations | |
enum | CGAL::Surface_mesher::IO_option { CGAL::Surface_mesher::NO_OPTION = 0, CGAL::Surface_mesher::IO_ORIENT_SURFACE = 1, CGAL::Surface_mesher::IO_VERBOSE = 2 } |
Options for function output_surface_facets_to_off() . More... | |
Functions | |
template<class SurfaceMeshComplex_2InTriangulation_3 > | |
bool | CGAL::output_surface_facets_to_off (std::ostream &os, const SurfaceMeshComplex_2InTriangulation_3 &c2t3, int options=Surface_mesher::IO_ORIENT_SURFACE) |
writes a manifold or non-manifold surface reconstructed by make_surface_mesh() in the OFF file format. More... | |
template<class SurfaceMeshComplex_2InTriangulation_3 , class Polyhedron > | |
bool | CGAL::output_surface_facets_to_polyhedron (const SurfaceMeshComplex_2InTriangulation_3 &c2t3, Polyhedron &output_polyhedron) |
converts a manifold surface reconstructed by make_surface_mesh() to a Polyhedron_3<Traits> . More... | |
Options for function output_surface_facets_to_off()
.
#include <CGAL/IO/Io_option.h>
Enumerator | |
---|---|
NO_OPTION | |
IO_ORIENT_SURFACE | |
IO_VERBOSE |
bool CGAL::output_surface_facets_to_off | ( | std::ostream & | os, |
const SurfaceMeshComplex_2InTriangulation_3 & | c2t3, | ||
int | options = Surface_mesher::IO_ORIENT_SURFACE |
||
) |
writes a manifold or non-manifold surface reconstructed by make_surface_mesh()
in the OFF file format.
In case the surface is manifold the triangles can be oriented.
SurfaceMeshComplex_2InTriangulation_3 | must be a model of the SurfaceMeshComplex_2InTriangulation_3 concept. |
true
if the surface is manifold and orientable.os | stream in which to write. |
c2t3 | Input surface. |
options | an int that is the binary union of values of Surface_mesher::IO_option . |
true
if the surface could be written to the stream.#include <CGAL/IO/output_surface_facets_to_off.h>
bool CGAL::output_surface_facets_to_polyhedron | ( | const SurfaceMeshComplex_2InTriangulation_3 & | c2t3, |
Polyhedron & | output_polyhedron | ||
) |
converts a manifold surface reconstructed by make_surface_mesh()
to a Polyhedron_3<Traits>
.
make_surface_mesh()
with Manifold_tag
or Manifold_with_boundary_tag
parameter.SurfaceMeshComplex_2InTriangulation_3 | must be a model of the SurfaceMeshComplex_2InTriangulation_3 concept. |
Polyhedron | must be an instance of Polyhedron_3<Traits> . |
true
if the surface is manifold and orientable.c2t3 | Input surface. |
output_polyhedron | Output polyhedron. |
#include <CGAL/IO/output_surface_facets_to_polyhedron.h>