CGAL 6.0 - 3D Mesh Generation
Loading...
Searching...
No Matches
InitialPointsGenerator Concept Reference

Definition

The function object concept InitialPointsGenerator is designed to construct a set of initial points on the surface of the domain.

Has models
CGAL::Construct_initial_points_labeled_image
CGAL::Construct_initial_points_gray_image

Types

typedef unspecified_type MeshDomain
 Mesh domain type to be meshed, model of MeshDomain_3
 
typedef unspecified_type C3t3
 Type of the output mesh complex, model of MeshComplex_3InTriangulation_3
 

Operations

template<typename OutputIterator >
OutputIterator operator() (OutputIterator pts, int n)
 Outputs a set of surface points, for mesh initialization, to the output iterator pts.
 
template<typename OutputIterator >
OutputIterator operator() (OutputIterator pts)
 Same as above, without the n parameter.
 

Member Function Documentation

◆ operator()() [1/2]

template<typename OutputIterator >
OutputIterator InitialPointsGenerator::operator() ( OutputIterator  pts)

Same as above, without the n parameter.

Since there is no n given like above, the functor must provide enough points to initialize the mesh generation process.

Template Parameters
OutputIteratormodel of OutputIterator, containing tuple-like objects made of 3 elements :
  • a C3t3::Triangulation::Point : the point p,
  • a int : the minimal dimension of the subcomplexes to which p belongs,
  • a MeshDomain_3::Index : the index of the corresponding subcomplex.

◆ operator()() [2/2]

template<typename OutputIterator >
OutputIterator InitialPointsGenerator::operator() ( OutputIterator  pts,
int  n 
)

Outputs a set of surface points, for mesh initialization, to the output iterator pts.

Template Parameters
OutputIteratormodel of OutputIterator, containing tuple-like objects made of 3 elements :
  • a C3t3::Triangulation::Point : the point p,
  • a int : the minimal dimension of the subcomplexes on which p lies,
  • a MeshDomain_3::Index : the index of the corresponding subcomplex.
Parameters
ptsthe output points
na lower bound on the number of points to construct for initialization. A generator can choose to ignore this parameter. If this operator does not output enough points, then more points will be added automatically by the mesher.