CGAL 5.2.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 C2T3 , class TriangleMesh > | |
void | CGAL::facets_in_complex_2_to_triangle_mesh (const C2T3 &c2t3, TriangleMesh &graph) |
converts a manifold surface reconstructed by make_surface_mesh() to a TriangleMesh . More... | |
#include <CGAL/IO/Complex_2_in_triangulation_3_file_writer.h>
Options for function output_surface_facets_to_off()
.
Enumerator | |
---|---|
NO_OPTION | |
IO_ORIENT_SURFACE | |
IO_VERBOSE |
void CGAL::facets_in_complex_2_to_triangle_mesh | ( | const C2T3 & | c2t3, |
TriangleMesh & | graph | ||
) |
#include <CGAL/IO/facets_in_complex_2_to_triangle_mesh.h>
converts a manifold surface reconstructed by make_surface_mesh()
to a TriangleMesh
.
This function exports the surface as a TriangleMesh
and appends it to graph
. It must be manifold. For this purpose, you may call make_surface_mesh()
with Manifold_tag
or Manifold_with_boundary_tag
parameter.
C2T3 | a model of SurfaceMeshComplex_2InTriangulation_3 . |
TriangleMesh | a model of MutableFaceGraph with an internal point property map. The point type should be compatible with the one used in C2T3 . |
c2t3 | a manifold instance of C2T3 . |
graph | an instance of TriangleMesh . |
bool CGAL::output_surface_facets_to_off | ( | std::ostream & | os, |
const SurfaceMeshComplex_2InTriangulation_3 & | c2t3, | ||
int | options = Surface_mesher::IO_ORIENT_SURFACE |
||
) |
#include <CGAL/IO/Complex_2_in_triangulation_3_file_writer.h>
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.