CGAL 6.1 - 3D Mesh Generation
|
#include <CGAL/Mesh_3/Construct_initial_points_labeled_image.h>
Functor for generating initial points in labeled images.
This functor is a model of the InitialPointsGenerator_3
concept, and can be passed as a parameter to CGAL::make_mesh_3
using the CGAL::parameters::initial_points_generator()
parameter function.
This functor scans the complete image to detect all its connected components, and constructs points on the surface of each of them. Its goal is to initialize each component, each of them corresponding to a subdomain. It ensures that each component will be initialized, i.e. represented by at least one cell of the triangulation.
C3t3 | model of MeshComplex_3InTriangulation_3 |
MeshDomain | model of MeshDomain_3 |
InitialPointsGenerator_3
Public Member Functions | |
Construct_initial_points_labeled_image (const CGAL::Image_3 &image, const MeshDomain &domain) | |
Constructs a functor for generating initial points in labeled images. | |
template<typename OutputIterator > | |
OutputIterator | operator() (OutputIterator pts, const int n=20) const |
constructs at least n initial points. | |
CGAL::Construct_initial_points_labeled_image< C3t3, MeshDomain >::Construct_initial_points_labeled_image | ( | const CGAL::Image_3 & | image, |
const MeshDomain & | domain | ||
) |
Constructs a functor for generating initial points in labeled images.
image | the labeled image that defines the mesh domain |
domain | the mesh domain |
OutputIterator CGAL::Construct_initial_points_labeled_image< C3t3, MeshDomain >::operator() | ( | OutputIterator | pts, |
const int | n = 20 |
||
) | const |
constructs at least n
initial points.
OutputIterator | model of OutputIterator for tuple-like objects containing
|