CGAL 5.6 - 3D Mesh Generation
|
#include <CGAL/Implicit_to_labeling_function_wrapper.h>
The class Implicit_multi_domain_to_labeling_function_wrapper
is a helping class to get a function with integer values labeling the components of a multi-domain.
The multidomain is described through a set of functions {fi(p), i=1, ...n}. Each component corresponds to a sign vector [s1, s2, ..., sn] where si is the sign of the function fi(p) at a point p of the component. This wrapper class can be passed to Labeled_mesh_domain_3
as first template parameter.
Function | provides the definition of the function. This parameter stands for a model of the concept ImplicitFunction described in the surface mesh generation package. The number types Function::FT and BGT::FT are required to match. |
Labeled_mesh_domain_3
. Types | |
typedef std::vector< Function * > | Function_vector |
typedef Function::Point | Point_3 |
Creation | |
Implicit_multi_domain_to_labeling_function_wrapper (const Function_vector &implicit_functions) | |
Construction from a vector of implicit functions. More... | |
Implicit_multi_domain_to_labeling_function_wrapper (const Function_vector &implicit_functions, const std::vector< std::vector< Sign > > &position_vectors) | |
Construction from a vector of implicit functions and a vector of vector of signs. More... | |
Implicit_multi_domain_to_labeling_function_wrapper (const Function_vector &implicit_functions, const std::vector< std::string > &position_strings) | |
Construction from a vector of implicit functions and a vector of strings. More... | |
CGAL::Implicit_multi_domain_to_labeling_function_wrapper< Function >::Implicit_multi_domain_to_labeling_function_wrapper | ( | const Function_vector & | implicit_functions | ) |
Construction from a vector of implicit functions.
implicit_functions | the vector of implicit functions. |
Position vectors are built automatically so that the union of components equals the union of the functions.
CGAL::Implicit_multi_domain_to_labeling_function_wrapper< Function >::Implicit_multi_domain_to_labeling_function_wrapper | ( | const Function_vector & | implicit_functions, |
const std::vector< std::vector< Sign > > & | position_vectors | ||
) |
Construction from a vector of implicit functions and a vector of vector of signs.
implicit_functions | the vector of implicit functions. |
position_vectors | the vector of vector of signs. Each vector of positions describes a component. |
Sign
CGAL::Implicit_multi_domain_to_labeling_function_wrapper< Function >::Implicit_multi_domain_to_labeling_function_wrapper | ( | const Function_vector & | implicit_functions, |
const std::vector< std::string > & | position_strings | ||
) |
Construction from a vector of implicit functions and a vector of strings.
implicit_functions | the vector of implicit functions. |
position_strings | the vector of strings. The strings contained in this vector must contain '+' or '-' only. Each string (vector of positions) describes a component. |